diff options
author | rubidium <rubidium@openttd.org> | 2010-12-05 22:25:36 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-05 22:25:36 +0000 |
commit | 44d1c5534757a284b528dfe30ba227675234b4e4 (patch) | |
tree | 7c3bb76c06b596487640e3d1f30009af026ca47a /src/station_type.h | |
parent | 5c9c3f1acf9a49b8da6fcbea0e4072750181a48c (diff) | |
download | openttd-44d1c5534757a284b528dfe30ba227675234b4e4.tar.xz |
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
Diffstat (limited to 'src/station_type.h')
-rw-r--r-- | src/station_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_type.h b/src/station_type.h index 3ba1a478e..9b1bfc27a 100644 --- a/src/station_type.h +++ b/src/station_type.h @@ -86,7 +86,7 @@ enum CatchmentArea { MAX_CATCHMENT = 10, ///< Maximum catchment for airports with "modified catchment" enabled }; -static const uint MAX_LENGTH_STATION_NAME_BYTES = 31; ///< The maximum length of a station name in bytes including '\0' +static const uint MAX_LENGTH_STATION_NAME_CHARS = 31; ///< The maximum length of a station name in characters including '\0' static const uint MAX_LENGTH_STATION_NAME_PIXELS = 180; ///< The maximum length of a station name in pixels /** List of stations */ |