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

appending a '\n'.
This commit is contained in:
Huw Davies 2005-01-05 17:30:37 +00:00 committed by Alexandre Julliard
parent b5e4d1a8d8
commit 9e15a42008
2 changed files with 4 additions and 8 deletions

View file

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

View file

@ -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)
{