1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Fixed a bug escaping Xcode project settings starting or ending with quotes

This commit is contained in:
ed 2021-04-06 10:23:20 +01:00
parent faf5ed4023
commit 282ad8fa9c

View file

@ -2767,7 +2767,7 @@ private:
if (val.isEmpty() || (val.containsAnyOf (" \t;<>()=,&+-@~\r\n\\#%^`*")
&& ! (val.trimStart().startsWithChar ('(')
|| val.trimStart().startsWithChar ('{'))))
val = val.quoted();
val = "\"" + val + "\"";
auto content = propertyName.toString() + " = " + val + ";";