charger: accomodate minui change

gr_text() now takes an argument requesting bold text instead of
regular.

Change-Id: I18b54f05ae4a89cb753fa5977a870f1bc827b963
This commit is contained in:
Doug Zongker 2013-03-07 13:35:23 -08:00
parent d1439a7f8e
commit 12c45fb9be

View file

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