diff options
author | rubidium <rubidium@openttd.org> | 2010-12-05 22:24:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-05 22:24:04 +0000 |
commit | 091263317e7eb8a882813a11f6da53058c266df5 (patch) | |
tree | 1d04254627126917ad0b56c2c296335dca137506 /src/depot_type.h | |
parent | 9a1805064654d5f0e348f8a7b990532bfb66921a (diff) | |
download | openttd-091263317e7eb8a882813a11f6da53058c266df5.tar.xz |
(svn r21409) -Codechange: limit depot name by amount of characters, not bytes
Diffstat (limited to 'src/depot_type.h')
-rw-r--r-- | src/depot_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_type.h b/src/depot_type.h index ab6013e13..ce23c5794 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_BYTES = 31; ///< The maximum length of a depot name in bytes including '\0' +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_PIXELS = 180; ///< The maximum length of a depot name in pixels #endif /* DEPOT_TYPE_H */ |