diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 2c6c85f2a8..71ec83ed1a 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -956,7 +956,9 @@ int rockbox_browse(const char *root, int dirfilter) | |||
956 | global_settings.fmr_file); | 956 | global_settings.fmr_file); |
957 | } | 957 | } |
958 | #endif | 958 | #endif |
959 | 959 | else /* reset current[] */ | |
960 | current[0] = '\0'; | ||
961 | |||
960 | /* If we've found a file to center on, do it */ | 962 | /* If we've found a file to center on, do it */ |
961 | if (current[0] == '/') | 963 | if (current[0] == '/') |
962 | { | 964 | { |