[Complex Test Layouts] Change String to use UTF-32 encoding on all platforms.
This commit is contained in:
parent
0864f12f0d
commit
80b8eff6aa
94 changed files with 4889 additions and 1686 deletions
|
|
@ -100,7 +100,7 @@ void InputMapEditor::_notification(int p_what) {
|
|||
}
|
||||
|
||||
static bool _validate_action_name(const String &p_name) {
|
||||
const CharType *cstr = p_name.c_str();
|
||||
const char32_t *cstr = p_name.get_data();
|
||||
for (int i = 0; cstr[i]; i++) {
|
||||
if (cstr[i] == '/' || cstr[i] == ':' || cstr[i] == '"' ||
|
||||
cstr[i] == '=' || cstr[i] == '\\' || cstr[i] < 32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue