Code

screen_search: make SEARCH_ARTIST_TITLE part of an enum
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 26 Aug 2011 01:10:30 +0000 (03:10 +0200)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Mon, 29 Aug 2011 20:29:56 +0000 (22:29 +0200)
src/screen_search.c

index 6af4937da6be9e2ab34543b89563bf673e8b0075..86c2bb171a74df7d335908e4325878146e77b60c 100644 (file)
@@ -36,6 +36,7 @@
 
 enum {
        SEARCH_URI = MPD_TAG_COUNT + 100,
+       SEARCH_ARTIST_TITLE
 };
 
 static const struct {
@@ -72,8 +73,6 @@ search_get_tag_id(const char *name)
        return -1;
 }
 
-#define SEARCH_ARTIST_TITLE 999
-
 typedef struct {
        enum mpd_tag_type table;
        const char *label;