]> granicus.if.org Git - neomutt/commitdiff
fix: bug in uncolor for notmuch tag
authorRichard Russon <rich@flatcap.org>
Wed, 5 Apr 2017 14:36:45 +0000 (15:36 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 8 Apr 2017 21:24:37 +0000 (22:24 +0100)
A bug caused by the order of COLOR constants prevented "uncolor" working on
MT_COLOR_INDEX_TAG.

mutt_curses.h

index 21e9c65326b6a5e569bedcca8a6db70def3de76c..ec56a9546212aab5ae6c8ef25e0544f3ca8b01aa 100644 (file)
@@ -136,6 +136,9 @@ enum
   MT_COLOR_INDEX,
   MT_COLOR_INDEX_AUTHOR,
   MT_COLOR_INDEX_FLAGS,
+#ifdef USE_NOTMUCH
+  MT_COLOR_INDEX_TAG,
+#endif
   MT_COLOR_INDEX_SUBJECT,
   /* below here - only index coloring stuff that doesn't have a pattern */
   MT_COLOR_INDEX_COLLAPSED,
@@ -144,7 +147,6 @@ enum
   MT_COLOR_INDEX_NUMBER,
   MT_COLOR_INDEX_SIZE,
 #ifdef USE_NOTMUCH
-  MT_COLOR_INDEX_TAG,
   MT_COLOR_INDEX_TAGS,
 #endif
   MT_COLOR_MAX