aboutsummaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2015-04-03 01:31:51 +0200
committerEinar Johan Trøan Sømåen2015-04-09 20:01:56 +0200
commit0395948cd3d612f8b629dc16c09fd0bac0225411 (patch)
tree14a3c768dd108954d106f358761df3d8d40db1fe /devtools
parent8f66bc1c92d8ac61078dc1a3fb00875e608a25a2 (diff)
downloadscummvm-rg350-0395948cd3d612f8b629dc16c09fd0bac0225411.tar.gz
scummvm-rg350-0395948cd3d612f8b629dc16c09fd0bac0225411.tar.bz2
scummvm-rg350-0395948cd3d612f8b629dc16c09fd0bac0225411.zip
CREATE_PROJECT: Quote lastKnownFileType, name and path to avoid breakage on c++11-compat.h
Diffstat (limited to 'devtools')
-rw-r--r--devtools/create_project/xcode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index 18ab98560b..0cc16d1f8d 100644
--- a/devtools/create_project/xcode.cpp
+++ b/devtools/create_project/xcode.cpp
@@ -64,9 +64,9 @@ namespace CreateProjectTool {
#define ADD_FILE_REFERENCE(name, properties) { \
Object *fileRef = new Object(this, name, name, "PBXFileReference", "PBXFileReference", name); \
if (!properties.fileEncoding.empty()) fileRef->addProperty("fileEncoding", properties.fileEncoding, "", SettingsNoValue); \
- if (!properties.lastKnownFileType.empty()) fileRef->addProperty("lastKnownFileType", properties.lastKnownFileType, "", SettingsNoValue); \
- if (!properties.fileName.empty()) fileRef->addProperty("name", properties.fileName, "", SettingsNoValue); \
- if (!properties.filePath.empty()) fileRef->addProperty("path", properties.filePath, "", SettingsNoValue); \
+ if (!properties.lastKnownFileType.empty()) fileRef->addProperty("lastKnownFileType", properties.lastKnownFileType, "", SettingsNoValue|SettingsQuoteVariable); \
+ if (!properties.fileName.empty()) fileRef->addProperty("name", properties.fileName, "", SettingsNoValue|SettingsQuoteVariable); \
+ if (!properties.filePath.empty()) fileRef->addProperty("path", properties.filePath, "", SettingsNoValue|SettingsQuoteVariable); \
if (!properties.sourceTree.empty()) fileRef->addProperty("sourceTree", properties.sourceTree, "", SettingsNoValue); \
_fileReference.add(fileRef); \
_fileReference.flags = SettingsSingleItem; \