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
commitbe1bec145e0f940546d60f0a8aada37dd668cfec (patch)
treeeab81d9c6d0d34d3ff65ebab2fbfbf682671af37 /strgen
parentaa55d7b47d576e98f0d0298a5308e842912857a6 (diff)
downloadopenttd-be1bec145e0f940546d60f0a8aada37dd668cfec.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++;
}