diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-01-23 21:10:42 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-01-23 21:13:32 +0200 |
commit | 15dafc49d3cd0534c44fa568febfad4ac63c5a07 (patch) | |
tree | 01cd393efb09a4deee41973c08444bcb34b109cd /modules/text_server_adv/text_server_adv.cpp | |
parent | c06df6779ae8c3145cd7be727102663ccae568e9 (diff) |
[TextServer] Fix ICU data loading and exporting with `internationalization/locale/include_text_server_data` setting.
Diffstat (limited to 'modules/text_server_adv/text_server_adv.cpp')
-rw-r--r-- | modules/text_server_adv/text_server_adv.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/text_server_adv/text_server_adv.cpp b/modules/text_server_adv/text_server_adv.cpp index ddafae5e58..780b09bc9a 100644 --- a/modules/text_server_adv/text_server_adv.cpp +++ b/modules/text_server_adv/text_server_adv.cpp @@ -443,19 +443,11 @@ bool TextServerAdvanced::_load_support_data(const String &p_filename) { } String TextServerAdvanced::_get_support_data_filename() const { -#ifdef ICU_STATIC_DATA return _MKSTR(ICU_DATA_NAME); -#else - return String(); -#endif } String TextServerAdvanced::_get_support_data_info() const { -#ifdef ICU_STATIC_DATA return String("ICU break iteration data (") + _MKSTR(ICU_DATA_NAME) + String(")."); -#else - return String(); -#endif } bool TextServerAdvanced::_save_support_data(const String &p_filename) const { |