mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[TextServer] Fix ICU data incorrectly marked as loaded even if file was not found.
This commit is contained in:
parent
36a62d0c6a
commit
14093fdacf
1 changed files with 1 additions and 1 deletions
|
|
@ -458,13 +458,13 @@ bool TextServerAdvanced::_load_support_data(const String &p_filename) {
|
||||||
}
|
}
|
||||||
|
|
||||||
err = U_ZERO_ERROR;
|
err = U_ZERO_ERROR;
|
||||||
|
icu_data_loaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
u_init(&err);
|
u_init(&err);
|
||||||
if (U_FAILURE(err)) {
|
if (U_FAILURE(err)) {
|
||||||
ERR_FAIL_V_MSG(false, u_errorName(err));
|
ERR_FAIL_V_MSG(false, u_errorName(err));
|
||||||
}
|
}
|
||||||
icu_data_loaded = true;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue