From e0df1b9e578d6bd3eab1dc7dcabe404806f04d00 Mon Sep 17 00:00:00 2001 From: Hongbo Ni Date: Wed, 6 Aug 2008 10:20:40 +1000 Subject: [PATCH] msvcmaker: Fix msvc project file generation under MinGW32. When converting a makefile to a msvc .dsp file, if a line is ended with a back slash, it will be joined with next line. This patch changes the joining character from '\n' to a space in order to fix the bug of running MinGW32 on Windows. --- tools/winapi/msvcmaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index 132d6550b16..01b6d4b2f96 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -135,7 +135,7 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) { chomp $line; if($lookahead) { $lookahead = 0; - $_ .= "\n" . $line; + $_ .= " " . $line; } else { $_ = $line; }