Francois Gouget : wpp: Standardize the error and warning messages.

Alexandre Julliard julliard at winehq.org
Thu Apr 2 14:27:36 CDT 2020


Module: wine
Branch: master
Commit: bda70216a62bd8c69b698882f8a6e13c4b9ae1e5
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bda70216a62bd8c69b698882f8a6e13c4b9ae1e5

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Apr  2 11:09:37 2020 +0200

wpp: Standardize the error and warning messages.

Use lowercase 'error:' and 'warning:' prefixes like other tools so the
messages can be recognized by standard tools.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/wpp/preproc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index df5adf0dbc..284704b9f4 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -692,7 +692,7 @@ int ppy_error(const char *s, ...)
 {
 	va_list ap;
 	va_start(ap, s);
-	generic_msg(s, "Error", ppy_text, ap);
+	generic_msg(s, "error", ppy_text, ap);
 	va_end(ap);
 	exit(1);
 }
@@ -701,7 +701,7 @@ int ppy_warning(const char *s, ...)
 {
 	va_list ap;
 	va_start(ap, s);
-	generic_msg(s, "Warning", ppy_text, ap);
+	generic_msg(s, "warning", ppy_text, ap);
 	va_end(ap);
 	return 0;
 }




More information about the wine-cvs mailing list