(svn r21408) -Codechange: limit president name by amount of characters, not bytes

This commit is contained in:
rubidium
2010-12-05 22:23:50 +00:00
parent 5c2674ec77
commit 83535a52ea
3 changed files with 6 additions and 6 deletions

View File

@@ -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