From 67def0b18c0fdb844aaac76fb3e0c52a83f1ab98 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 17 Sep 2008 16:03:54 +0000 Subject: 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 --- apps/plugins/pictureflow.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'apps') 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; -- cgit v1.2.3