summaryrefslogtreecommitdiff
path: root/src/strings_type.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2019-07-28 17:02:41 +0200
committerCharles Pigott <charlespigott@googlemail.com>2019-08-02 20:19:07 +0100
commit8cccb158e98a4a5c93d85fe2e09d3937855c4675 (patch)
treee0df7d73ce874bf8ef60aea40438b3ff1e7c0519 /src/strings_type.h
parent425cd3e4ca8cf6812bdf015c649a7bf4b76a71a1 (diff)
downloadopenttd-8cccb158e98a4a5c93d85fe2e09d3937855c4675.tar.xz
Fix #7672: more than 32 resolutions may be available
Diffstat (limited to 'src/strings_type.h')
-rw-r--r--src/strings_type.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/strings_type.h b/src/strings_type.h
index aa3ed788c..11eeef153 100644
--- a/src/strings_type.h
+++ b/src/strings_type.h
@@ -93,9 +93,8 @@ enum SpecialStrings {
SPECSTR_LANGUAGE_START = 0x7100,
SPECSTR_LANGUAGE_END = SPECSTR_LANGUAGE_START + MAX_LANG - 1,
- /* reserve 32 strings for various screen resolutions */
+ /* reserve strings for various screen resolutions MUST BE THE LAST VALUE IN THIS ENUM */
SPECSTR_RESOLUTION_START = SPECSTR_LANGUAGE_END + 1,
- SPECSTR_RESOLUTION_END = SPECSTR_RESOLUTION_START + 0x1F,
};
#endif /* STRINGS_TYPE_H */