From fea21d4c3deb8cb832ddc67c070a73d33aeb15af Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 1 Apr 2020 13:34:50 +0200 Subject: [PATCH] Fix a stray CR inside a line Use CRLF consistently instead of cobbling a \r here and a \n there. The generated files don't change. Signed-off-by: Gilles Peskine --- scripts/data_files/vs2010-app-template.vcxproj | 3 ++- scripts/generate_visualc_files.pl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/data_files/vs2010-app-template.vcxproj b/scripts/data_files/vs2010-app-template.vcxproj index 1db7ee42a..6fb7efa55 100644 --- a/scripts/data_files/vs2010-app-template.vcxproj +++ b/scripts/data_files/vs2010-app-template.vcxproj @@ -18,7 +18,8 @@ x64 - + + diff --git a/scripts/generate_visualc_files.pl b/scripts/generate_visualc_files.pl index 991397674..20f653bb7 100755 --- a/scripts/generate_visualc_files.pl +++ b/scripts/generate_visualc_files.pl @@ -93,10 +93,10 @@ sub gen_app { $path =~ s!/!\\!g; (my $appname = $path) =~ s/.*\\//; - my $srcs = "\n \r"; + my $srcs = ""; if( $appname eq "ssl_client2" or $appname eq "ssl_server2" or $appname eq "query_compile_time_config" ) { - $srcs .= "\n \r"; + $srcs .= "\r\n "; } my $content = $template;