]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
And a colon for the colored version too ...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 10:00:09 +0000 (12:00 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 10:00:09 +0000 (12:00 +0200)
error.c

diff --git a/error.c b/error.c
index 6e09f396e2aacac131345255d55de266706d7e18..125ed962fcad3dd11a921cbf601589a807a2fcb5 100644 (file)
--- a/error.c
+++ b/error.c
@@ -40,7 +40,7 @@ int levelcolor[] = {
 void vprintmsg(int level, const char *name, size_t line, char *errtype, const char *msg, va_list ap)
 {
 #ifndef WIN32
-    fprintf (stderr, "\033[0;%dm%s:%d \033[0;%dm%s: \033[0m", CON_CYAN, name, (int)line, levelcolor[level], errtype);
+    fprintf (stderr, "\033[0;%dm%s:%d: \033[0;%dm%s: \033[0m", CON_CYAN, name, (int)line, levelcolor[level], errtype);
 #else
     fprintf (stderr, "%s:%d: %s: ", name, line, errtype);
 #endif