Module: wine Branch: master Commit: 1d8dbeff9a1ee63b3e6aad038b9fc3cb8d423276 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d8dbeff9a1ee63b3e6aad038b...
Author: Rob Shearman robertshearman@gmail.com Date: Wed Jan 7 11:43:47 2009 +0000
widl: Make the case of messages output by warning and error functions consistent.
Standardise on lower case "warning" and "error", since they match the case of what gcc prints.
---
tools/widl/utils.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/widl/utils.c b/tools/widl/utils.c index 2e05add..6547774 100644 --- a/tools/widl/utils.c +++ b/tools/widl/utils.c @@ -71,7 +71,7 @@ void error_loc(const char *s, ...) loc_info_t cur_loc = CURRENT_LOCATION; va_list ap; va_start(ap, s); - generic_msg(&cur_loc, s, "Error", ap); + generic_msg(&cur_loc, s, "error", ap); va_end(ap); exit(1); } @@ -86,7 +86,7 @@ void error_loc_info(const loc_info_t *loc_info, const char *s, ...) { va_list ap; va_start(ap, s); - generic_msg(loc_info, s, "Error", ap); + generic_msg(loc_info, s, "error", ap); va_end(ap); exit(1); } @@ -96,7 +96,7 @@ int parser_warning(const char *s, ...) loc_info_t cur_loc = CURRENT_LOCATION; va_list ap; va_start(ap, s); - generic_msg(&cur_loc, s, "Warning", ap); + generic_msg(&cur_loc, s, "warning", ap); va_end(ap); return 0; } @@ -124,7 +124,7 @@ void warning_loc_info(const loc_info_t *loc_info, const char *s, ...) { va_list ap; va_start(ap, s); - generic_msg(loc_info, s, "Warning", ap); + generic_msg(loc_info, s, "warning", ap); va_end(ap); }