Don't show browser before resume.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5625 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2005-01-21 15:42:47 +00:00
parent 8e3cc0811c
commit b3c836522a

View file

@ -645,6 +645,7 @@ static bool dirbrowse(void)
if (*tc.dirfilter < NUM_FILTER_MODES)
start_resume(true);
if (!start_wps) {
numentries = showdir();
if (numentries == -1)
return false; /* currdir is not a directory */
@ -657,6 +658,7 @@ static bool dirbrowse(void)
update_all = true;
put_cursorxy(CURSOR_X, CURSOR_Y + tc.dircursor, true);
}
while(1) {
struct entry *dircache = tc.dircache;