summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/dircache.c2
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);
}
/**