diff options
author | Robert Kukla <roolku@rockbox.org> | 2007-03-04 19:14:13 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2007-03-04 19:14:13 +0000 |
commit | ce63fcf6ab3303485ef0b7cfbc535af56b3c282d (patch) | |
tree | 03a9df6206361cc1a645bb38b18956efeefda5fb /apps/tagcache.c | |
parent | 5a90ac97bca45bb2302a24c65b984fdb62845283 (diff) | |
download | rockbox-ce63fcf6ab3303485ef0b7cfbc535af56b3c282d.tar.gz rockbox-ce63fcf6ab3303485ef0b7cfbc535af56b3c282d.zip |
don't hard code size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12597 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 884697f4b1..7e614aa882 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -1524,7 +1524,7 @@ static int check_if_empty(char **tag) | |||
1524 | if (*tag == NULL || *tag[0] == '\0') | 1524 | if (*tag == NULL || *tag[0] == '\0') |
1525 | { | 1525 | { |
1526 | *tag = UNTAGGED; | 1526 | *tag = UNTAGGED; |
1527 | return 11; /* Tag length */ | 1527 | return sizeof(UNTAGGED); /* Tag length */ |
1528 | } | 1528 | } |
1529 | 1529 | ||
1530 | length = strlen(*tag); | 1530 | length = strlen(*tag); |