msvcmaker: join continuing lines with space instead of new line

Hongbo Ni hongbo at njstar.com
Tue Aug 19 07:29:01 CDT 2008


msvcmaker creates corrupted project file (.dsp) when running on windows 
under MinGW32, It happens for tests of more than one c files.

---
 tools/winapi/msvcmaker |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 132d655..01b6d4b 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;
            }
-- 
1.5.5.1  




More information about the wine-patches mailing list