]> granicus.if.org Git - mutt/commitdiff
The uncolor/unmono commands weren't parsed correctly when not
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 7 Mar 2000 11:18:56 +0000 (11:18 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 7 Mar 2000 11:18:56 +0000 (11:18 +0000)
applicable.  This fixes bug#65.

color.c

diff --git a/color.c b/color.c
index 5c9305c70a8264264fed10d6170ab3a2cbee2571..de5596a59953e3e32800f1774265919acdba163b 100644 (file)
--- a/color.c
+++ b/color.c
@@ -399,6 +399,10 @@ _mutt_parse_uncolor (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err,
 #endif
      )
   {
+    do
+      mutt_extract_token (buf, s, 0);
+    while (MoreArgs (s));
+
     return 0;
   }