diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2008-01-13 19:20:04 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2008-01-13 19:20:04 +0000 |
commit | 7aedb02fccb98b0a2362046d2694be12b2b0ede7 (patch) | |
tree | 1527e2a95a8715e2b96d06410b758895575c2555 /firmware/common | |
parent | 39c597b5e1121b8d07c36934b1569d60f75d02c9 (diff) |
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
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/dircache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index 983f0b03cf..ed392d6186 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c @@ -739,7 +739,7 @@ void dircache_set_appflag(long mask) */ bool dircache_get_appflag(long mask) { - return appflags & mask; + return dircache_is_enabled() && (appflags & mask); } /** |