diff options
author | Max Kellermann <max@duempel.org> | 2009-02-27 09:01:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-27 09:01:55 +0100 |
commit | 75c2029b1c3b59a5922eebc7cf91607758823c45 (patch) | |
tree | b8eb0204dcb4b363aea94e0fcf4593b0610a7172 /src/tag_save.c | |
parent | 5b07cbf0b4428213fee154c2e92b74606abedc2b (diff) | |
download | mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.gz mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.xz mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.zip |
tag: no CamelCase
Renamed numOfItems to num_items.
Diffstat (limited to '')
-rw-r--r-- | src/tag_save.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tag_save.c b/src/tag_save.c index dd2bf1ea3..b4a098f22 100644 --- a/src/tag_save.c +++ b/src/tag_save.c @@ -23,13 +23,11 @@ void tag_save(FILE *file, const struct tag *tag) { - int i; - if (tag->time >= 0) fprintf(file, SONG_TIME "%i\n", tag->time); - for (i = 0; i < tag->numOfItems; i++) + for (unsigned i = 0; i < tag->num_items; i++) fprintf(file, "%s: %s\n", - mpdTagItemKeys[tag->items[i]->type], + tag_item_names[tag->items[i]->type], tag->items[i]->value); } |