summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-22 16:44:06 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-22 16:44:06 +0000
commitb81adc40c067eb3d2187a98f5e670f0506e3198e (patch)
treea8ea1ca12242f5d07d8c6cb8f5a41f1dd01a668e /apps
parenta70f367e3cbed73d439e78c06f4808baaffa8d1d (diff)
downloadrockbox-b81adc40c067eb3d2187a98f5e670f0506e3198e.tar.gz
rockbox-b81adc40c067eb3d2187a98f5e670f0506e3198e.tar.bz2
rockbox-b81adc40c067eb3d2187a98f5e670f0506e3198e.zip
Now rescans the dir when sort_case is changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 237246d41e..420c55bfcf 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -467,10 +467,12 @@ bool dirbrowse(char *root)
case TREE_MENU: {
bool lastfilter = global_settings.mp3filter;
+ bool lastsortcase = global_settings.sort_case;
lcd_stop_scroll();
main_menu();
/* do we need to rescan dir? */
- if ( lastfilter != global_settings.mp3filter )
+ if ( lastfilter != global_settings.mp3filter ||
+ lastsortcase != global_settings.sort_case)
lastdir[0] = 0;
restore = true;
break;