summaryrefslogtreecommitdiff
path: root/src/company_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-05 22:24:50 +0000
committerrubidium <rubidium@openttd.org>2010-12-05 22:24:50 +0000
commitcf61c2f11fbffe20749382feb8fe03d238a2888d (patch)
treef6a5ff6ee367f3a62f59d1e7099aeafcfb665b5f /src/company_type.h
parent768da4b48f8c70177cb5dfc77a30a23a98a3ae05 (diff)
downloadopenttd-cf61c2f11fbffe20749382feb8fe03d238a2888d.tar.xz
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
Diffstat (limited to 'src/company_type.h')
-rw-r--r--src/company_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_type.h b/src/company_type.h
index 7e308b6f7..1671f70df 100644
--- a/src/company_type.h
+++ b/src/company_type.h
@@ -39,7 +39,7 @@ DECLARE_POSTFIX_INCREMENT(Owner)
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_CHARS = 32; ///< The maximum length of a company name in characters including '\0'
static const uint MAX_LENGTH_COMPANY_NAME_PIXELS = 150; ///< The maximum length of a company name in pixels
static const uint MAX_HISTORY_MONTHS = 24; ///< The maximum number of months kept as performance's history