diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-02-23 13:12:08 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-02-23 13:12:08 +0000 |
| commit | bc357da2ae5dada31a45517ffde8549fb47ce7cf (patch) | |
| tree | ccad88c5afa34225748b83d4addab0157df32d6d /apps/filetypes.c | |
| parent | 01bf4d35ac5992797c0584bb934d13a4b15773dc (diff) | |
| download | rockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.zip rockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.tar.gz rockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.tar.bz2 rockbox-bc357da2ae5dada31a45517ffde8549fb47ce7cf.tar.xz | |
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c index db463d7..8427bc7 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c @@ -325,7 +325,6 @@ static void read_config(char* config_file) filetypes[filetype_count].icon = Icon_Questionmark; heighest_attr++; /* get the icon */ -#ifdef HAVE_LCD_BITMAP s = e+1; if (*s == '*') filetypes[filetype_count].icon = atoi(s+1); @@ -333,9 +332,6 @@ static void read_config(char* config_file) filetypes[filetype_count].icon = Icon_NOICON; else if (*s >= '0' && *s <= '9') filetypes[filetype_count].icon = Icon_Last_Themeable + atoi(s); -#else - filetypes[filetype_count].icon = Icon_NOICON; -#endif filetype_count++; } } |