Skip to content

Commit 3901082

Browse files
dschoGit for Windows Build Agent
authored andcommitted
vcxproj: do not use " unnecessarily
The .vcxproj's text nodes do not actually need to URL-encode double quotes. So let's not do that. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2cf187b commit 3901082

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/buildsystems/Generators/Vcxproj.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ sub createProject {
123123
my $defines = join(";", sort(@{$$build_structure{"$prefix${name}_DEFINES"}}));
124124
my $includes= join(";", sort(map { s/^-I//; s/\//\\/g; File::Spec->file_name_is_absolute($_) ? $_ : "$rel_dir\\$_" } @{$$build_structure{"$prefix${name}_INCLUDES"}}));
125125
my $cflags = join(" ", sort(map { s/^-[GLMOZ].*//; s/.* .*/"$&"/; $_; } @{$$build_structure{"$prefix${name}_CFLAGS"}}));
126-
$cflags =~ s/\"/&quot;/g;
127126
$cflags =~ s/</&lt;/g;
128127
$cflags =~ s/>/&gt;/g;
129128

@@ -133,7 +132,6 @@ sub createProject {
133132
}
134133

135134
$defines =~ s/-D//g;
136-
$defines =~ s/\"/&quot;/g;
137135
$defines =~ s/</&lt;/g;
138136
$defines =~ s/>/&gt;/g;
139137
$defines =~ s/\'//g;

0 commit comments

Comments
 (0)