From 25e8ca84acd7fc604fbc59213587887d5119d51a Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 6 Dec 2009 22:34:35 +0100 Subject: [PATCH] Print out \r\n on windows, not just \n This should hopefully fix bug #17053 --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index df25aaa..b9442fc 100644 --- a/main.c +++ b/main.c @@ -645,7 +645,11 @@ main (int argc, char **argv) } if (need_newline) +#ifdef G_OS_WIN32 + printf ("\r\n"); +#else printf ("\n"); +#endif return 0; } -- 2.39.5