diff options
author | Nicholas Thompson <njt1982@gmail.com> | 2019-06-24 23:43:03 +0100 |
---|---|---|
committer | Nicholas Thompson <nick@fullfatthings.com> | 2019-06-25 11:46:43 +0100 |
commit | c48576f7330a7d206c0833f2846f7f0dec74e956 (patch) | |
tree | 51f58292f6cd53dea027ebd13cdb81d63b8326f5 /platform/iphone/export/export.cpp | |
parent | 6fbd045845aabafae5bd06ad3e285480eb16b10d (diff) |
Allow '-' character in iOS reverse DNS identifiers dissallow underscores.
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r-- | platform/iphone/export/export.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp index 7ca83320d0..b2064472e4 100644 --- a/platform/iphone/export/export.cpp +++ b/platform/iphone/export/export.cpp @@ -125,7 +125,7 @@ class EditorExportPlatformIOS : public EditorExportPlatform { first = true; continue; } - if (!((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '_')) { + if (!((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '-')) { if (r_error) { *r_error = vformat(TTR("The character '%s' is not allowed in Identifier."), String::chr(c)); } @@ -137,7 +137,7 @@ class EditorExportPlatformIOS : public EditorExportPlatform { } return false; } - if (first && c == '_') { + if (first && c == '-') { if (r_error) { *r_error = vformat(TTR("The character '%s' cannot be the first character in a Identifier segment."), String::chr(c)); } |