diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-01-30 10:15:46 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-17 14:55:42 +0100 |
commit | c8e00e4f7333ada3cd47282efc3c47eee32e7160 (patch) | |
tree | dcf28a5aca563c5e8853838b885d6a9cdb27f3b8 /util/locale_database | |
parent | ed2b110b6add650954dc102a0317c14ff826c677 (diff) |
Use char16_t in favor of ushort for locale data tables
Change-Id: I890dd2b52c1b786db1081744c8ca343baba93de4
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'util/locale_database')
-rwxr-xr-x | util/locale_database/qlocalexml2cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/qlocalexml2cpp.py b/util/locale_database/qlocalexml2cpp.py index ad02bf18af..bb9f138c18 100755 --- a/util/locale_database/qlocalexml2cpp.py +++ b/util/locale_database/qlocalexml2cpp.py @@ -319,7 +319,7 @@ class StringData: if len(self.data) > 0xffff: raise ValueError("Data is too big for quint16 index to its end!" % len(self.data), self.name) - fd.write("\nstatic const ushort %s[] = {\n" % self.name) + fd.write("\nstatic const char16_t %s[] = {\n" % self.name) fd.write(wrap_list(self.data)) fd.write("\n};\n") |