Delete the \r not the \n in PRINTERROR.

oldstable
Mike Hearn 2005-01-10 14:26:46 +00:00 committed by Alexandre Julliard
parent 160f562107
commit fd14bdebd4
1 changed files with 1 additions and 1 deletions

View 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);
}