summaryrefslogtreecommitdiff
path: root/strgen
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-08-29 20:55:25 +0000
committerDarkvater <Darkvater@openttd.org>2006-08-29 20:55:25 +0000
commitfd57cba7e5d2d9f864b5a6117b38e60e9c9f65e0 (patch)
treeeab81d9c6d0d34d3ff65ebab2fbfbf682671af37 /strgen
parent9b39b43914ff647441e8c94cee1996a658cf3f11 (diff)
downloadopenttd-fd57cba7e5d2d9f864b5a6117b38e60e9c9f65e0.tar.xz
(svn r6225) -Codechange: change the warning/error format of strgen to show up
in MSVC 'Task List' as well.
Diffstat (limited to 'strgen')
-rw-r--r--strgen/strgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strgen/strgen.c b/strgen/strgen.c
index 800d0c83d..9735dc12b 100644
--- a/strgen/strgen.c
+++ b/strgen/strgen.c
@@ -165,7 +165,7 @@ static void CDECL Warning(const char *s, ...)
va_start(va, s);
vsnprintf(buf, lengthof(buf), s, va);
va_end(va);
- fprintf(stderr, "%s" LINE_NUM_FMT ": Warning: %s\n", _file, _cur_line, buf);
+ fprintf(stderr, "%s" LINE_NUM_FMT ": warning: %s\n", _file, _cur_line, buf);
_warnings++;
}
@@ -177,7 +177,7 @@ static void CDECL Error(const char *s, ...)
va_start(va, s);
vsnprintf(buf, lengthof(buf), s, va);
va_end(va);
- fprintf(stderr, "%s" LINE_NUM_FMT ": Error: %s\n", _file, _cur_line, buf);
+ fprintf(stderr, "%s" LINE_NUM_FMT ": error: %s\n", _file, _cur_line, buf);
_errors++;
}