You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
[Complex Test Layouts] Change String to use UTF-32 encoding on all platforms.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user