Delete the \r not the \n in PRINTERROR.
authorMike Hearn <mike@navi.cx>
Mon, 10 Jan 2005 14:26:46 +0000 (14:26 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 10 Jan 2005 14:26:46 +0000 (14:26 +0000)
programs/winecfg/winecfg.c

index 0f284076762af441ad60c9611edd448bcb985b3f..5aafcf6caf236ce16697057b5ccd6ff6047518b0 100644 (file)
@@ -515,7 +515,7 @@ void PRINTERROR(void)
                        (LPSTR)&msg, 0, NULL);
 
         /* eliminate trailing newline, is this a Wine bug? */
-        *(strrchr(msg, '\n')) = '\0';
+        *(strrchr(msg, '\r')) = '\0';
         
         WINE_TRACE("error: '%s'\n", msg);
 }