mirror of https://github.com/godotengine/godot
[TextServer] Fix ICU data incorrectly marked as loaded even if file was not found.
This commit is contained in:
parent
36a62d0c6a
commit
14093fdacf
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue