summaryrefslogtreecommitdiff
path: root/src/depot_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-14 22:08:40 +0000
committerrubidium <rubidium@openttd.org>2011-01-14 22:08:40 +0000
commit6b86ee9888d177c214a079a1c5d88b680458fff4 (patch)
treef8812af54dca516cd06f844abcd3092493e59739 /src/depot_type.h
parent080a941edaea3b234967f8bad76a69d27033a902 (diff)
downloadopenttd-6b86ee9888d177c214a079a1c5d88b680458fff4.tar.xz
(svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long
Diffstat (limited to 'src/depot_type.h')
-rw-r--r--src/depot_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_type.h b/src/depot_type.h
index ce23c5794..61ea12343 100644
--- a/src/depot_type.h
+++ b/src/depot_type.h
@@ -15,7 +15,7 @@
typedef uint16 DepotID;
struct Depot;
-static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 31; ///< The maximum length of a depot name in characters including '\0'
+static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32; ///< The maximum length of a depot name in characters including '\0'
static const uint MAX_LENGTH_DEPOT_NAME_PIXELS = 180; ///< The maximum length of a depot name in pixels
#endif /* DEPOT_TYPE_H */