Merge "charger: accomodate minui change" into jb-mr2-dev
This commit is contained in:
commit
598169e768
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;
|
x = (gr_fb_width() - str_len_px) / 2;
|
||||||
if (y < 0)
|
if (y < 0)
|
||||||
y = (gr_fb_height() - char_height) / 2;
|
y = (gr_fb_height() - char_height) / 2;
|
||||||
gr_text(x, y, str);
|
gr_text(x, y, str, 0);
|
||||||
|
|
||||||
return y + char_height;
|
return y + char_height;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue