diff --git a/src/IcyMetaDataServer.cxx b/src/IcyMetaDataServer.cxx index b1d075582..8f02acacb 100644 --- a/src/IcyMetaDataServer.cxx +++ b/src/IcyMetaDataServer.cxx @@ -101,7 +101,7 @@ icy_server_metadata_page(const struct tag *tag, const enum tag_type *types) last_item = -1; while (*types != TAG_NUM_OF_ITEM_TYPES) { - const gchar *tag_item = tag_get_value(tag, *types); + const gchar *tag_item = tag_get_value(tag, *types++); if (tag_item) tag_items[++last_item] = tag_item; }