diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-02-15 01:03:03 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-02-15 01:03:03 +0000 |
commit | c47b65408ee5fade49d2c9e083333233f3bbfc5f (patch) | |
tree | a748677db93282f3655f42edbb6d13a02989aec5 | |
parent | 79a6cb67ba3ac5290cc4b6761a93810e49d562fd (diff) | |
download | rockbox-c47b65408ee5fade49d2c9e083333233f3bbfc5f.tar.gz rockbox-c47b65408ee5fade49d2c9e083333233f3bbfc5f.zip |
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
-rw-r--r-- | apps/tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index bd2f8c2a2b..9df16a6344 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -688,7 +688,9 @@ static int onplay_screen(char* dir, char* file) | |||
688 | LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true); | 688 | LCD_WIDTH/2 + 8, LCD_HEIGHT/2 - 4, 7, 8, true); |
689 | } | 689 | } |
690 | 690 | ||
691 | lcd_putsxy(0, LCD_HEIGHT/2 - h/2, str(LANG_RENAME)); | 691 | ptr = str(LANG_RENAME); |
692 | lcd_getstringsize(ptr,&w,&h); | ||
693 | lcd_putsxy(0, LCD_HEIGHT/2 - h/2, ptr); | ||
692 | lcd_bitmap(bitmap_icons_7x8[Icon_FastBackward], | 694 | lcd_bitmap(bitmap_icons_7x8[Icon_FastBackward], |
693 | LCD_WIDTH/2 - 16, LCD_HEIGHT/2 - 4, 7, 8, true); | 695 | LCD_WIDTH/2 - 16, LCD_HEIGHT/2 - 4, 7, 8, true); |
694 | } | 696 | } |