diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-05-17 23:31:49 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-05-21 20:02:34 +0200 |
commit | 808c8198d5ab61c457d0351ff7971b75ee17c10a (patch) | |
tree | 70459dfbd4c69dd9e82282eed2c6fe68383774f3 /src/string_type.h | |
parent | 43cd892e0c2c012355d7eb6d47cfa4ad4b7e68eb (diff) | |
download | openttd-808c8198d5ab61c457d0351ff7971b75ee17c10a.tar.xz |
Codechange: Consistently use WChar when passing characters around, and also define it as char32_t.
Diffstat (limited to 'src/string_type.h')
-rw-r--r-- | src/string_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_type.h b/src/string_type.h index ced1ab1de..623d74661 100644 --- a/src/string_type.h +++ b/src/string_type.h @@ -32,7 +32,7 @@ enum CharSetFilter { }; /** Type for wide characters, i.e. non-UTF8 encoded unicode characters. */ -typedef uint32 WChar; +typedef char32_t WChar; /* The following are directional formatting codes used to get the LTR and RTL strings right: * http://www.unicode.org/unicode/reports/tr9/#Directional_Formatting_Codes */ |