summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 938492b168..8c41abbdcf 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1101,12 +1101,13 @@ int rockbox_browse(struct browse_context *browse)
1101 ret_val = dirbrowse(); 1101 ret_val = dirbrowse();
1102 } 1102 }
1103 } 1103 }
1104
1105 tc.is_browsing = false;
1106
1104 backup_count--; 1107 backup_count--;
1105 if (backup_count >= 0) 1108 if (backup_count >= 0)
1106 tc = backups[backup_count]; 1109 tc = backups[backup_count];
1107 1110
1108 tc.is_browsing = false;
1109
1110 return ret_val; 1111 return ret_val;
1111} 1112}
1112 1113