fecdec_filter: Avoid potentially expensive pointer subtraction.
[paraslash.git] / color.c
diff --git a/color.c b/color.c
index d6abf13d717281705bde7671715095cf8da1666e..ca5a32d3bc6ccec7d4e93c2f8f6b285a53b22dcb 100644 (file)
--- a/color.c
+++ b/color.c
@@ -1,7 +1,7 @@
 /** \file color.c Functions for printing colored messages. */
 
 /*
- * Mostly taken from the git source tree, version 1.6.1.76, January 2008.
+ * Mostly taken from the git source tree, version 1.6.1.76, January 2009.
  */
 
 #include "para.h"
@@ -113,7 +113,7 @@ int color_parse(const char *value, char *dst)
                        }
                }
                if (bg >= 0) {
-                       if (sep++)
+                       if (sep)
                                *dst++ = ';';
                        if (bg < 8) {
                                *dst++ = '4';