1
0
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:
Pāvels Nadtočajevs
2025-01-17 15:46:04 +02:00
parent 36a62d0c6a
commit 14093fdacf

View File

@@ -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;