]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - color.c
Fix year in comment to color.c.
[paraslash.git] / color.c
diff --git a/color.c b/color.c
index bd09446c17ef9a7654b65960e165c85c14d7097b..8be246d33eae9c09dace905b776b573a3e1bb654 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"
@@ -68,11 +68,11 @@ int color_parse(const char *value, char *dst)
                const char *word = ptr;
                int val, len = 0;
 
-               while (word[len] && !isspace(word[len]))
+               while (word[len] && !para_isspace(word[len]))
                        len++;
 
                ptr = word + len;
-               while (*ptr && isspace(*ptr))
+               while (*ptr && para_isspace(*ptr))
                        ptr++;
 
                val = parse_color(word, len);