summaryrefslogtreecommitdiff
path: root/apps/plugins
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 /apps/plugins
parent017c25cdc13e551debf65d22db894448bc14bedc (diff)
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
Diffstat (limited to 'apps/plugins')
-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)
rb->lcd_getstringsize(albumtxt, NULL, &albumtxt_h);
titletxt_y = ((LCD_HEIGHT-albumtxt_h-10)-(track_count*albumtxt_h))/2;
}
+ else if (config.show_fps)
+ titletxt_y = titletxt_h + 5;
else
- {
- if (config.show_fps)
- titletxt_y = titletxt_h + 5;
- }
-
+ titletxt_y = 0;
+
int track_i;
for (i=0; i < track_list_visible_entries; i++) {
track_i = i+start_index_track_list;