Update lv_txt.c

This commit is contained in:
Gabor Kiss-Vamosi
2019-04-23 15:08:12 +02:00
committed by GitHub
parent 580d1e111d
commit ef0f8b29cf
+1 -1
View File
@@ -324,7 +324,7 @@ lv_coord_t lv_txt_get_width(const char * txt, uint16_t length,
lv_coord_t char_width = lv_font_get_width(font, letter);
if(char_width > 0){
width += lv_font_get_width(font, letter);
width += char_width;
width += letter_space;
}
}