aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_save.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
committerMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
commit75c2029b1c3b59a5922eebc7cf91607758823c45 (patch)
treeb8eb0204dcb4b363aea94e0fcf4593b0610a7172 /src/song_save.c
parent5b07cbf0b4428213fee154c2e92b74606abedc2b (diff)
downloadmpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.gz
mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.xz
mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.zip
tag: no CamelCase
Renamed numOfItems to num_items.
Diffstat (limited to 'src/song_save.c')
-rw-r--r--src/song_save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_save.c b/src/song_save.c
index 8011a32fb..aa477eae2 100644
--- a/src/song_save.c
+++ b/src/song_save.c
@@ -92,9 +92,9 @@ matchesAnMpdTagItemKey(char *buffer, enum tag_type *itemType)
int i;
for (i = 0; i < TAG_NUM_OF_ITEM_TYPES; i++) {
- size_t len = strlen(mpdTagItemKeys[i]);
+ size_t len = strlen(tag_item_names[i]);
- if (0 == strncmp(mpdTagItemKeys[i], buffer, len) &&
+ if (0 == strncmp(tag_item_names[i], buffer, len) &&
buffer[len] == ':') {
*itemType = i;
return g_strchug(buffer + len + 1);