lv_win added + bugfixes

This commit is contained in:
Gabor
2016-10-07 17:33:35 +02:00
parent c295a04d6c
commit ee80e1f98a
8 changed files with 507 additions and 38 deletions

View File

@@ -66,7 +66,7 @@ uint16_t txt_get_next_line(const char * txt, const font_t * font_p,
/*If the txt is too long then finish, this is the line end*/
if(act_l > max_l) {
/*If already a break character is found, then break there*/
if(last_break != TXT_NO_BREAK_FOUND) {
if(last_break != TXT_NO_BREAK_FOUND && txt_is_break_char(txt[i]) == false) {
i = last_break;
}