summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-09-17 16:03:54 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-09-17 16:03:54 +0000
commit67def0b18c0fdb844aaac76fb3e0c52a83f1ab98 (patch)
treeafc79422806cfbe527a8fca02b167aabde093a79
parent017c25cdc13e551debf65d22db894448bc14bedc (diff)
downloadrockbox-67def0b18c0fdb844aaac76fb3e0c52a83f1ab98.tar.gz
rockbox-67def0b18c0fdb844aaac76fb3e0c52a83f1ab98.zip
Fix a display bug with the tracklist in Picture Flow. Thanks to Thomas Schott.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18537 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/pictureflow.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c
index cbe67d1cb3..7e6a180193 100644
--- a/apps/plugins/pictureflow.c
+++ b/apps/plugins/pictureflow.c
@@ -1799,12 +1799,11 @@ void show_track_list(void)
1799 rb->lcd_getstringsize(albumtxt, NULL, &albumtxt_h); 1799 rb->lcd_getstringsize(albumtxt, NULL, &albumtxt_h);
1800 titletxt_y = ((LCD_HEIGHT-albumtxt_h-10)-(track_count*albumtxt_h))/2; 1800 titletxt_y = ((LCD_HEIGHT-albumtxt_h-10)-(track_count*albumtxt_h))/2;
1801 } 1801 }
1802 else if (config.show_fps)
1803 titletxt_y = titletxt_h + 5;
1802 else 1804 else
1803 { 1805 titletxt_y = 0;
1804 if (config.show_fps) 1806
1805 titletxt_y = titletxt_h + 5;
1806 }
1807
1808 int track_i; 1807 int track_i;
1809 for (i=0; i < track_list_visible_entries; i++) { 1808 for (i=0; i < track_list_visible_entries; i++) {
1810 track_i = i+start_index_track_list; 1809 track_i = i+start_index_track_list;