1
0
Fork 0
forked from len0rd/rockbox

Bugfix: gray_putsxyofs() couldn't have worked before

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8432 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2006-01-23 22:13:38 +00:00
parent 3d2cab614e
commit 83b2628b05

View file

@ -529,7 +529,7 @@ void gray_gray_bitmap(const unsigned char *src, int x, int y, int width,
void gray_putsxyofs(int x, int y, int ofs, const unsigned char *str) void gray_putsxyofs(int x, int y, int ofs, const unsigned char *str)
{ {
int ch; int ch;
struct font* pf = font_get(_gray_info.curfont); struct font* pf = _gray_rb->font_get(_gray_info.curfont);
while ((ch = *str++) != '\0' && x < _gray_info.width) while ((ch = *str++) != '\0' && x < _gray_info.width)
{ {