Merge "charger: accomodate minui change" into jb-mr2-dev

This commit is contained in:
Doug Zongker 2013-03-07 22:33:51 +00:00 committed by Android (Google) Code Review
commit 598169e768

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