diff options
| author | Michael Hohmuth <sideral@rockbox.org> | 2011-05-10 10:25:41 +0000 |
|---|---|---|
| committer | Michael Hohmuth <sideral@rockbox.org> | 2011-05-10 10:25:41 +0000 |
| commit | 6a24a7a90363bfbf4c5a0be0585da425506adfab (patch) | |
| tree | f03b057c7e83f4924e084c2843d42ccedb0939ea /apps/tagcache.h | |
| parent | 8cb4b36ee3513e9c26e16e3d9cf8a788e1809602 (diff) | |
| download | rockbox-6a24a7a90363bfbf4c5a0be0585da425506adfab.zip rockbox-6a24a7a90363bfbf4c5a0be0585da425506adfab.tar.gz rockbox-6a24a7a90363bfbf4c5a0be0585da425506adfab.tar.bz2 rockbox-6a24a7a90363bfbf4c5a0be0585da425506adfab.tar.xz | |
tagnavi.config: Add a logical-OR operator ("|") for tagnavi conditionals.
Logical-AND ("&") always takes precedence over logical-OR.
(Parentheses are not supported.)
Fight binsize increase by storing some common expressions in local
variables. This avoids repeated reevaluations involving memory
accesses.
check_clauses: Fail clause (return false) in case of errors (tag too
long, DB entry deleted).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29851 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.h')
| -rw-r--r-- | apps/tagcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.h b/apps/tagcache.h index 59f8b8b..7351998 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -120,7 +120,7 @@ enum tag_type { tag_artist = 0, tag_album, tag_genre, tag_title, enum clause { clause_none, clause_is, clause_is_not, clause_gt, clause_gteq, clause_lt, clause_lteq, clause_contains, clause_not_contains, clause_begins_with, clause_not_begins_with, clause_ends_with, - clause_not_ends_with, clause_oneof }; + clause_not_ends_with, clause_oneof, clause_logical_or }; struct tagcache_stat { bool initialized; /* Is tagcache currently busy? */ |