(svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives

This commit is contained in:
smatz
2009-09-22 12:42:56 +00:00
parent 3a7da30922
commit 665864e5b0
3 changed files with 13 additions and 6 deletions

View File

@@ -17,6 +17,7 @@
*/
typedef uint16 StringID;
static const StringID INVALID_STRING_ID = 0xFFFF; ///< Constant representing an invalid string
static const int MAX_CHAR_LENGTH = 4; ///< Max. length of UTF-8 encoded unicode character
enum {
MAX_LANG = 64, ///< Maximal number of languages supported by the game