diff options
author | yexo <yexo@openttd.org> | 2009-08-19 13:13:32 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-19 13:13:32 +0000 |
commit | 94198e09ce5c07fb2ac821326dddfb143928578b (patch) | |
tree | 1e6bdf80ac5ff4e0443f43c031fce63bd00ae078 /src/strings.cpp | |
parent | 0fa0286ebb312c0ebbf5e4e84765609b05485041 (diff) | |
download | openttd-94198e09ce5c07fb2ac821326dddfb143928578b.tar.xz |
(svn r17219) -Cleanup: remove a lot of unused string code
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index bd1b6abaa..322b0e569 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -719,7 +719,7 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei, const char *s = GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender. int gender = 0; if (s != NULL) { - wchar_t c = Utf8Consume(&s); + WChar c = Utf8Consume(&s); /* Switch case is always put before genders, so remove those bits */ if (c == SCC_SWITCH_CASE) { /* Skip to the last (i.e. default) case */ |