From aa458aa9d8d554c03b2ff9084974bccb618d270d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 23 Aug 2002 12:41:25 +0000 Subject: MENU_DISK_CHANGED is the new value for telling disk content might have changed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1949 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 2 +- apps/menu.h | 2 +- apps/tree.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/menu.c b/apps/menu.c index b0060f4df4..4b871bb293 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -299,7 +299,7 @@ Menu menu_run(int m) #else lcd_icon(ICON_PARAM, true); #endif - result = MENU_REFRESH_DIR; + result = MENU_DISK_CHANGED; break; #endif diff --git a/apps/menu.h b/apps/menu.h index fc962c79aa..1623aa728b 100644 --- a/apps/menu.h +++ b/apps/menu.h @@ -24,7 +24,7 @@ typedef enum { MENU_OK, - MENU_REFRESH_DIR, /* any file/directory contents need to be re-read */ + MENU_DISK_CHANGED, /* any file/directory contents need to be re-read */ MENU_LAST /* don't use as return code, only for number of return codes available */ } Menu; diff --git a/apps/tree.c b/apps/tree.c index 0c4e26ab8e..d7cb7fbe33 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -645,7 +645,7 @@ bool dirbrowse(char *root) lcd_stop_scroll(); result = main_menu(); /* do we need to rescan dir? */ - if (result == MENU_REFRESH_DIR || + if (result == MENU_DISK_CHANGED || lastfilter != global_settings.mp3filter || lastsortcase != global_settings.sort_case || show_hidden_files != global_settings.show_hidden_files) -- cgit v1.2.3