diff options
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 69a462fd06..9635052ef3 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -329,7 +329,7 @@ static bool read_clause(struct tagcache_search_clause *clause) | |||
329 | strcpy(clause->str, buf); | 329 | strcpy(clause->str, buf); |
330 | } | 330 | } |
331 | 331 | ||
332 | if (tagcache_is_numeric_tag(clause->tag)) | 332 | if (TAGCACHE_IS_NUMERIC(clause->tag)) |
333 | { | 333 | { |
334 | clause->numeric = true; | 334 | clause->numeric = true; |
335 | clause->numeric_data = atoi(clause->str); | 335 | clause->numeric_data = atoi(clause->str); |
@@ -1086,12 +1086,12 @@ static int retrieve_entries(struct tree_context *c, struct tagcache_search *tcs, | |||
1086 | /* Prevent duplicate entries in the search list. */ | 1086 | /* Prevent duplicate entries in the search list. */ |
1087 | tagcache_search_set_uniqbuf(tcs, uniqbuf, UNIQBUF_SIZE); | 1087 | tagcache_search_set_uniqbuf(tcs, uniqbuf, UNIQBUF_SIZE); |
1088 | 1088 | ||
1089 | if (level || csi->clause_count[0] || tagcache_is_numeric_tag(tag)) | 1089 | if (level || csi->clause_count[0] || TAGCACHE_IS_NUMERIC(tag)) |
1090 | sort = true; | 1090 | sort = true; |
1091 | 1091 | ||
1092 | for (i = 0; i < level; i++) | 1092 | for (i = 0; i < level; i++) |
1093 | { | 1093 | { |
1094 | if (tagcache_is_numeric_tag(csi->tagorder[i])) | 1094 | if (TAGCACHE_IS_NUMERIC(csi->tagorder[i])) |
1095 | { | 1095 | { |
1096 | static struct tagcache_search_clause cc; | 1096 | static struct tagcache_search_clause cc; |
1097 | 1097 | ||