diff options
author | rubidium <rubidium@openttd.org> | 2010-12-05 22:23:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-05 22:23:50 +0000 |
commit | 9a1805064654d5f0e348f8a7b990532bfb66921a (patch) | |
tree | c4f696f86b410ab76a0c9eb224d4cd9b7bf82fd4 /src/company_type.h | |
parent | 66c7f00b607666df05849e66f6911dac9b426bd4 (diff) | |
download | openttd-9a1805064654d5f0e348f8a7b990532bfb66921a.tar.xz |
(svn r21408) -Codechange: limit president name by amount of characters, not bytes
Diffstat (limited to 'src/company_type.h')
-rw-r--r-- | src/company_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_type.h b/src/company_type.h index 77d73ed1f..7e308b6f7 100644 --- a/src/company_type.h +++ b/src/company_type.h @@ -37,7 +37,7 @@ enum Owner { }; DECLARE_POSTFIX_INCREMENT(Owner) -static const uint MAX_LENGTH_PRESIDENT_NAME_BYTES = 31; ///< The maximum length of a president name in bytes including '\0' +static const uint MAX_LENGTH_PRESIDENT_NAME_CHARS = 31; ///< The maximum length of a president name in characters including '\0' static const uint MAX_LENGTH_PRESIDENT_NAME_PIXELS = 94; ///< The maximum length of a president name in pixels static const uint MAX_LENGTH_COMPANY_NAME_BYTES = 31; ///< The maximum length of a company name in bytes including '\0' static const uint MAX_LENGTH_COMPANY_NAME_PIXELS = 150; ///< The maximum length of a company name in pixels |