Commit 9e15a420 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Bring the debug functions into line with the rest of Wine by not

appending a '\n'.
parent b5e4d1a8
......@@ -93,7 +93,6 @@ void internal_error(const char *file, int line, const char *s, ...)
va_start(ap, s);
fprintf(stderr, "Internal error (please report) %s %d: ", file, line);
vfprintf(stderr, s, ap);
fprintf(stderr, "\n");
va_end(ap);
exit(3);
}
......@@ -102,9 +101,8 @@ void error(const char *s, ...)
{
va_list ap;
va_start(ap, s);
fprintf(stderr, "Error: ");
fprintf(stderr, "error: ");
vfprintf(stderr, s, ap);
fprintf(stderr, "\n");
va_end(ap);
exit(2);
}
......@@ -113,9 +111,8 @@ void warning(const char *s, ...)
{
va_list ap;
va_start(ap, s);
fprintf(stderr, "Warning: ");
fprintf(stderr, "warning: ");
vfprintf(stderr, s, ap);
fprintf(stderr, "\n");
va_end(ap);
}
......@@ -125,9 +122,8 @@ void chat(const char *s, ...)
{
va_list ap;
va_start(ap, s);
fprintf(stderr, "FYI: ");
fprintf(stderr, "chat: ");
vfprintf(stderr, s, ap);
fprintf(stderr, "\n");
va_end(ap);
}
}
......
......@@ -222,7 +222,7 @@ int main(int argc,char *argv[])
atexit(rm_tempfile);
if (!no_preprocess)
{
chat("Starting preprocess");
chat("Starting preprocess\n");
if (!preprocess_only)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment