src/station_gui.cpp
changeset 9913 d9ce89020cc0
parent 9764 9b21f847d91c
child 10021 c737dd2eb7c9
equal deleted inserted replaced
9912:ee5cc92fde16 9913:d9ce89020cc0
   909 				this->SetDirty();
   909 				this->SetDirty();
   910 				break;
   910 				break;
   911 
   911 
   912 			case SVW_RENAME:
   912 			case SVW_RENAME:
   913 				SetDParam(0, this->window_number);
   913 				SetDParam(0, this->window_number);
   914 				ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, 31, 180, this, CS_ALPHANUMERAL);
   914 				ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL);
   915 				break;
   915 				break;
   916 
   916 
   917 			case SVW_TRAINS: { // Show a list of scheduled trains to this station
   917 			case SVW_TRAINS: { // Show a list of scheduled trains to this station
   918 				const Station *st = GetStation(this->window_number);
   918 				const Station *st = GetStation(this->window_number);
   919 				ShowVehicleListWindow(st->owner, VEH_TRAIN, (StationID)this->window_number);
   919 				ShowVehicleListWindow(st->owner, VEH_TRAIN, (StationID)this->window_number);