aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.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/stats.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 '')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 937ca3e3f..a72234247 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -48,7 +48,7 @@ visit_tag(struct visit_data *data, const struct tag *tag)
if (tag->time > 0)
stats.song_duration += tag->time;
- for (unsigned i = 0; i < tag->numOfItems; ++i) {
+ for (unsigned i = 0; i < tag->num_items; ++i) {
const struct tag_item *item = tag->items[i];
switch (item->type) {