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:
parent
8e3cc0811c
commit
b3c836522a
1 changed files with 14 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue