1
0
Fork 0
forked from len0rd/rockbox

Dircache state should be checked too to make appflags work in every situation.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16082 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2008-01-13 19:20:04 +00:00
parent 39c597b5e1
commit 7aedb02fcc

View file

@ -739,7 +739,7 @@ void dircache_set_appflag(long mask)
*/ */
bool dircache_get_appflag(long mask) bool dircache_get_appflag(long mask)
{ {
return appflags & mask; return dircache_is_enabled() && (appflags & mask);
} }
/** /**