summaryrefslogtreecommitdiff
path: root/apps/filetypes.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-02-23 13:12:08 +0000
committerJens Arnold <amiconn@rockbox.org>2008-02-23 13:12:08 +0000
commitbc357da2ae5dada31a45517ffde8549fb47ce7cf (patch)
treeccad88c5afa34225748b83d4addab0157df32d6d /apps/filetypes.c
parent01bf4d35ac5992797c0584bb934d13a4b15773dc (diff)
downloadrockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.tar.gz
rockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.zip
Small fixes for icon behaviour on the Player: Read viewer icon numbers from viewers.config, and correct the icon selection in icons.c. Now viewer supported filetypes get the mirrored question mark icon instead of no icon at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16389 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index db463d7ff4..8427bc7450 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -325,7 +325,6 @@ static void read_config(char* config_file)
325 filetypes[filetype_count].icon = Icon_Questionmark; 325 filetypes[filetype_count].icon = Icon_Questionmark;
326 heighest_attr++; 326 heighest_attr++;
327 /* get the icon */ 327 /* get the icon */
328#ifdef HAVE_LCD_BITMAP
329 s = e+1; 328 s = e+1;
330 if (*s == '*') 329 if (*s == '*')
331 filetypes[filetype_count].icon = atoi(s+1); 330 filetypes[filetype_count].icon = atoi(s+1);
@@ -333,9 +332,6 @@ static void read_config(char* config_file)
333 filetypes[filetype_count].icon = Icon_NOICON; 332 filetypes[filetype_count].icon = Icon_NOICON;
334 else if (*s >= '0' && *s <= '9') 333 else if (*s >= '0' && *s <= '9')
335 filetypes[filetype_count].icon = Icon_Last_Themeable + atoi(s); 334 filetypes[filetype_count].icon = Icon_Last_Themeable + atoi(s);
336#else
337 filetypes[filetype_count].icon = Icon_NOICON;
338#endif
339 filetype_count++; 335 filetype_count++;
340 } 336 }
341} 337}