charger: accomodate minui change
gr_text() now takes an argument requesting bold text instead of regular. Change-Id: I18b54f05ae4a89cb753fa5977a870f1bc827b963
This commit is contained in:
parent
d1439a7f8e
commit
12c45fb9be
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ static int draw_text(const char *str, int x, int y)
|
|||
x = (gr_fb_width() - str_len_px) / 2;
|
||||
if (y < 0)
|
||||
y = (gr_fb_height() - char_height) / 2;
|
||||
gr_text(x, y, str);
|
||||
gr_text(x, y, str, 0);
|
||||
|
||||
return y + char_height;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue