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:
parent
3d2cab614e
commit
83b2628b05
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue