make the folder icons play nice when you load a viewers theme (sorry, this is it from me tonight... )

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13184 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-16 14:52:47 +00:00
parent a9c1df4001
commit fd951ab8d0

View file

@ -84,7 +84,8 @@ void read_viewer_theme_file(void)
char *ext, *icon;
int i;
custom_icons_loaded = false;
for (i=0; i<filetype_count; i++)
custom_filetype_icons[0] = Icon_Folder;
for (i=1; i<filetype_count; i++)
custom_filetype_icons[i] = Icon_Questionmark;
snprintf(buffer, MAX_PATH, "%s/%s.icons", ICON_DIR,