X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=color.c;h=ca5a32d3bc6ccec7d4e93c2f8f6b285a53b22dcb;hp=d6abf13d717281705bde7671715095cf8da1666e;hb=d38eb22bbb5e89d70872a6ed07766f937af3ee47;hpb=9cfd0425783bc9828739758b374cfe86c20d8a19;ds=sidebyside diff --git a/color.c b/color.c index d6abf13d..ca5a32d3 100644 --- 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';