From 9e15a42008276e7486bb226eb8f04e50218f7535 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 5 Jan 2005 17:30:37 +0000 Subject: [PATCH] Bring the debug functions into line with the rest of Wine by not appending a '\n'. --- tools/widl/utils.c | 10 +++------- tools/widl/widl.c | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tools/widl/utils.c b/tools/widl/utils.c index ff2fba99402..4a7952b7e6b 100644 --- a/tools/widl/utils.c +++ b/tools/widl/utils.c @@ -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); } } diff --git a/tools/widl/widl.c b/tools/widl/widl.c index b5dd1bc1c72..119f58237a3 100644 --- a/tools/widl/widl.c +++ b/tools/widl/widl.c @@ -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) {