forked from len0rd/rockbox
The LANG_RENAME string could be f***ed up in onplay_screen. Patch by SeeSchloss.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3272 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
79a6cb67ba
commit
c47b65408e
1 changed files with 3 additions and 1 deletions
|
@ -688,7 +688,9 @@ static int onplay_screen(char* dir, char* file)
|
|||
LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true);
|
||||
}
|
||||
|
||||
lcd_putsxy(0, LCD_HEIGHT/2 - h/2, str(LANG_RENAME));
|
||||
ptr = str(LANG_RENAME);
|
||||
lcd_getstringsize(ptr,&w,&h);
|
||||
lcd_putsxy(0, LCD_HEIGHT/2 - h/2, ptr);
|
||||
lcd_bitmap(bitmap_icons_7x8[Icon_FastBackward],
|
||||
LCD_WIDTH/2 - 16, LCD_HEIGHT/2 - 4, 7, 8, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue