From fd14bdebd43dda480e35d3a33524c0301e03ad47 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 10 Jan 2005 14:26:46 +0000 Subject: [PATCH] Delete the \r not the \n in PRINTERROR. --- programs/winecfg/winecfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c index 0f284076762..5aafcf6caf2 100644 --- a/programs/winecfg/winecfg.c +++ b/programs/winecfg/winecfg.c @@ -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); }