Revert change to use single value settings specific format for xcode

This commit is contained in:
Rafael Lecina 2020-07-30 22:41:33 +02:00
parent 3468be5982
commit 5dfb248a53

View File

@ -219,9 +219,9 @@
value(level, name)
elseif type(value) ~= 'table' then
_p(level, '%s = %s;', stringifySetting(name), stringifySetting(value))
elseif #value == 1 then
_p(level, '%s = %s;', stringifySetting(name), stringifySetting(value[1]))
elseif #value > 1 then
--elseif #value == 1 then
--_p(level, '%s = %s;', stringifySetting(name), stringifySetting(value[1]))
elseif #value >= 1 then
_p(level, '%s = (', stringifySetting(name))
for _, item in ipairs(value) do
_p(level + 1, '%s,', stringifySetting(item))