From 4b36af4a349fb8840b0bb3a9fb30552abbac663f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 12 Feb 2012 18:19:12 +0100 Subject: tag: add attribute "has_playlist" --- src/tag.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tag.c') diff --git a/src/tag.c b/src/tag.c index 1dffe9c26..c0faa7ab2 100644 --- a/src/tag.c +++ b/src/tag.c @@ -158,6 +158,7 @@ struct tag *tag_new(void) struct tag *ret = g_new(struct tag, 1); ret->items = NULL; ret->time = -1; + ret->has_playlist = false; ret->num_items = 0; return ret; } @@ -226,6 +227,7 @@ struct tag *tag_dup(const struct tag *tag) ret = tag_new(); ret->time = tag->time; + ret->has_playlist = tag->has_playlist; ret->num_items = tag->num_items; ret->items = ret->num_items > 0 ? g_malloc(items_size(tag)) : NULL; -- cgit v1.2.3