mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: In Xcode exporter, properly escape single quotes in preprocessor definitions
This commit is contained in:
parent
f989182f32
commit
cd495f136e
1 changed files with 1 additions and 1 deletions
|
|
@ -1705,7 +1705,7 @@ public:
|
|||
auto def = defines.getAllKeys()[i];
|
||||
auto value = defines.getAllValues()[i];
|
||||
if (value.isNotEmpty())
|
||||
def << "=" << value.replace ("\"", "\\\\\\\"").replace (" ", "\\\\ ");
|
||||
def << "=" << value.replace ("\"", "\\\\\\\"").replace (" ", "\\\\ ").replace ("\'", "\\\\'");
|
||||
|
||||
defsList.add ("\"" + def + "\"");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue