mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
lv_draw_label: inline recolor bugfix
This commit is contained in:
parent
aebe5c1dfc
commit
33f0900ab7
@ -214,7 +214,7 @@ static uint8_t hex_char_to_num(char hex)
|
||||
if(hex >= '0' && hex <= '9') {
|
||||
result = hex - '0';
|
||||
}
|
||||
|
||||
else {
|
||||
if(hex >= 'a') hex -= 'a' - 'A'; /*Convert to upper case*/
|
||||
|
||||
switch(hex) {
|
||||
@ -240,6 +240,7 @@ static uint8_t hex_char_to_num(char hex)
|
||||
result = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user