1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 16:09:10 +00:00

(svn r6225) -Codechange: change the warning/error format of strgen to show up

in MSVC 'Task List' as well.
This commit is contained in:
Darkvater
2006-08-29 20:55:25 +00:00
parent aa55d7b47d
commit be1bec145e

View File

@@ -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++;
}