Print out \r\n on windows, not just \n

This should hopefully fix bug #17053
This commit is contained in:
Tollef Fog Heen 2009-12-06 22:34:35 +01:00
parent e04ee5a1b8
commit 25e8ca84ac

4
main.c
View file

@ -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;
}