diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 92e0c66ff6..5a8d40f0b6 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -257,7 +257,8 @@ static int browser(void* param) | |||
257 | { | 257 | { |
258 | case GO_TO_FILEBROWSER: | 258 | case GO_TO_FILEBROWSER: |
259 | if (!get_current_file(last_folder, MAX_PATH) || | 259 | if (!get_current_file(last_folder, MAX_PATH) || |
260 | !strchr(&last_folder[1], '/')) | 260 | (!strchr(&last_folder[1], '/') && |
261 | global_settings.start_directory[1] != '\0')) | ||
261 | { | 262 | { |
262 | last_folder[0] = '/'; | 263 | last_folder[0] = '/'; |
263 | last_folder[1] = '\0'; | 264 | last_folder[1] = '\0'; |