You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
[TextServer] Fix ICU data incorrectly marked as loaded even if file was not found.
This commit is contained in:
@@ -458,13 +458,13 @@ bool TextServerAdvanced::_load_support_data(const String &p_filename) {
|
||||
}
|
||||
|
||||
err = U_ZERO_ERROR;
|
||||
icu_data_loaded = true;
|
||||
}
|
||||
|
||||
u_init(&err);
|
||||
if (U_FAILURE(err)) {
|
||||
ERR_FAIL_V_MSG(false, u_errorName(err));
|
||||
}
|
||||
icu_data_loaded = true;
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user