Francois Gouget : wrc: Add a trailing '\n' to the error() calls.

Alexandre Julliard julliard at winehq.org
Fri Jan 27 11:30:41 CST 2012


Module: wine
Branch: master
Commit: 1a512846e250af51048d9c38609f19dbf39cc7f1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1a512846e250af51048d9c38609f19dbf39cc7f1

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Jan 27 14:08:22 2012 +0100

wrc: Add a trailing '\n' to the error() calls.

---

 tools/wrc/genres.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/wrc/genres.c b/tools/wrc/genres.c
index d6e641f..edf4823 100644
--- a/tools/wrc/genres.c
+++ b/tools/wrc/genres.c
@@ -287,13 +287,13 @@ static int parse_accel_string( const string_t *key, int flags )
              (key->str.cstr[0] >= '0' && key->str.cstr[0] <= '9')))
         {
             print_location( &key->loc );
-            error("VIRTKEY code is not equal to ascii value");
+            error("VIRTKEY code is not equal to ascii value\n");
         }
 
 	if(key->str.cstr[0] == '^' && (flags & WRC_AF_CONTROL) != 0)
 	{
             print_location( &key->loc );
-            error("Cannot use both '^' and CONTROL modifier");
+            error("Cannot use both '^' and CONTROL modifier\n");
 	}
 	else if(key->str.cstr[0] == '^')
 	{
@@ -301,7 +301,7 @@ static int parse_accel_string( const string_t *key, int flags )
             if(keycode >= ' ')
             {
                 print_location( &key->loc );
-                error("Control-code out of range");
+                error("Control-code out of range\n");
             }
 	}
 	else
@@ -314,12 +314,12 @@ static int parse_accel_string( const string_t *key, int flags )
              (key->str.wstr[0] >= '0' && key->str.wstr[0] <= '9')))
         {
             print_location( &key->loc );
-            error("VIRTKEY code is not equal to ascii value");
+            error("VIRTKEY code is not equal to ascii value\n");
         }
 	if(key->str.wstr[0] == '^' && (flags & WRC_AF_CONTROL) != 0)
 	{
             print_location( &key->loc );
-            error("Cannot use both '^' and CONTROL modifier");
+            error("Cannot use both '^' and CONTROL modifier\n");
 	}
 	else if(key->str.wstr[0] == '^')
 	{
@@ -327,7 +327,7 @@ static int parse_accel_string( const string_t *key, int flags )
             if(keycode >= ' ')
             {
                 print_location( &key->loc );
-                error("Control-code out of range");
+                error("Control-code out of range\n");
             }
 	}
 	else




More information about the wine-cvs mailing list