summaryrefslogtreecommitdiff
path: root/src/signs_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-05 22:25:08 +0000
committerrubidium <rubidium@openttd.org>2010-12-05 22:25:08 +0000
commit6e69b943d685c3b485d415d4fce53af28f0eba85 (patch)
tree4fdd482d8d916951c9b34edceb4127f7bf6871ed /src/signs_type.h
parentcf61c2f11fbffe20749382feb8fe03d238a2888d (diff)
downloadopenttd-6e69b943d685c3b485d415d4fce53af28f0eba85.tar.xz
(svn r21413) -Codechange: limit sign name by amount of characters, not bytes
Diffstat (limited to 'src/signs_type.h')
-rw-r--r--src/signs_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs_type.h b/src/signs_type.h
index a54808705..0e9780268 100644
--- a/src/signs_type.h
+++ b/src/signs_type.h
@@ -17,7 +17,7 @@ struct Sign;
static const SignID INVALID_SIGN = 0xFFFF;
-static const uint MAX_LENGTH_SIGN_NAME_BYTES = 31; ///< The maximum length of a sign name in bytes including '\0'
+static const uint MAX_LENGTH_SIGN_NAME_CHARS = 31; ///< The maximum length of a sign name in characters including '\0'
static const uint MAX_LENGTH_SIGN_NAME_PIXELS = 255; ///< The maximum length of a sign name in pixels
#endif /* SIGNS_TYPE_H */