Delete the \r not the \n in PRINTERROR

Mike Hearn mike at navi.cx
Fri Jan 7 09:43:29 CST 2005


Delete the \r not the \n in PRINTERROR
-------------- next part --------------
--- winecfg.c  (revision 71)
+++ winecfg.c  (revision 72)
@@ -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);
 }


More information about the wine-patches mailing list