summaryrefslogtreecommitdiff
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.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)
467 467
468 case TREE_MENU: { 468 case TREE_MENU: {
469 bool lastfilter = global_settings.mp3filter; 469 bool lastfilter = global_settings.mp3filter;
470 bool lastsortcase = global_settings.sort_case;
470 lcd_stop_scroll(); 471 lcd_stop_scroll();
471 main_menu(); 472 main_menu();
472 /* do we need to rescan dir? */ 473 /* do we need to rescan dir? */
473 if ( lastfilter != global_settings.mp3filter ) 474 if ( lastfilter != global_settings.mp3filter ||
475 lastsortcase != global_settings.sort_case)
474 lastdir[0] = 0; 476 lastdir[0] = 0;
475 restore = true; 477 restore = true;
476 break; 478 break;