1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}