1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

lv_ta: remove forgotten printf

This commit is contained in:
Gabor Kiss-Vamosi 2017-10-03 11:35:53 +02:00
parent 0777561390
commit d1dcc41f69

View File

@ -875,7 +875,6 @@ static bool lv_ta_scrling_design(lv_obj_t * scrl, const area_t * mask, lv_design
uint32_t letter = txt_utf8_next(&txt[byte_pos], NULL);
cord_t letter_h = font_get_height(label_style->font) >> FONT_ANTIALIAS;
printf("letter1:%c, bp:%d\n", letter, byte_pos);
/*Set letter_w (set not 0 on non printable but valid chars)*/
cord_t letter_w;
if(letter == '\0' || letter == '\n' || letter == '\r') {
@ -897,7 +896,6 @@ static bool lv_ta_scrling_design(lv_obj_t * scrl, const area_t * mask, lv_design
letter = txt_utf8_next(&txt[byte_pos], NULL);
}
printf("letter2:%c, bp:%d\n", letter, byte_pos);
if(letter == '\0' || letter == '\n' || letter == '\r') {
letter_w = font_get_width(label_style->font, ' ');
} else {