From 735fc1fc686b89277f750fee9b4ffc6720c96b62 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 1 Jun 2017 21:33:36 +0100 Subject: [PATCH] Increase maximum permitted depot and station name lengths. --- src/depot_type.h | 2 +- src/station_type.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/depot_type.h b/src/depot_type.h index d6374bed51..0163b9b5c2 100644 --- a/src/depot_type.h +++ b/src/depot_type.h @@ -15,6 +15,6 @@ typedef uint16 DepotID; ///< Type for the unique identifier of depots. struct Depot; -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_CHARS = 128; ///< The maximum length of a depot name in characters including '\0' #endif /* DEPOT_TYPE_H */ diff --git a/src/station_type.h b/src/station_type.h index 952a683d74..f5e7a8af84 100644 --- a/src/station_type.h +++ b/src/station_type.h @@ -89,7 +89,7 @@ enum CatchmentArea { MAX_CATCHMENT = 10, ///< Maximum catchment for airports with "modified catchment" enabled }; -static const uint MAX_LENGTH_STATION_NAME_CHARS = 32; ///< The maximum length of a station name in characters including '\0' +static const uint MAX_LENGTH_STATION_NAME_CHARS = 128; ///< The maximum length of a station name in characters including '\0' /** List of station IDs */ typedef std::list StationIDList;