summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2007-03-04 19:30:03 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2007-03-04 19:30:03 +0000
commit416218660aee3df058b8f6d7dbd49b79adddd020 (patch)
tree03a9df6206361cc1a645bb38b18956efeefda5fb
parent55e1b531db11dd98ea8c23c6c363ccb2c3dfd1e6 (diff)
downloadrockbox-416218660aee3df058b8f6d7dbd49b79adddd020.tar.gz
rockbox-416218660aee3df058b8f6d7dbd49b79adddd020.zip
Ignore me. I am silly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12599 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 120b8fd918..7e614aa882 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -92,7 +92,6 @@ static const char tagcache_thread_name[] = "tagcache";
92#endif 92#endif
93 93
94#define UNTAGGED "<Untagged>" 94#define UNTAGGED "<Untagged>"
95#define SIZEOF_UNTAGGED 11 /* Including \0 */
96 95
97/* Previous path when scanning directory tree recursively. */ 96/* Previous path when scanning directory tree recursively. */
98static char curpath[TAG_MAXLEN+32]; 97static char curpath[TAG_MAXLEN+32];
@@ -1525,7 +1524,7 @@ static int check_if_empty(char **tag)
1525 if (*tag == NULL || *tag[0] == '\0') 1524 if (*tag == NULL || *tag[0] == '\0')
1526 { 1525 {
1527 *tag = UNTAGGED; 1526 *tag = UNTAGGED;
1528 return SIZEOF_UNTAGGED; /* Tag length */ 1527 return sizeof(UNTAGGED); /* Tag length */
1529 } 1528 }
1530 1529
1531 length = strlen(*tag); 1530 length = strlen(*tag);