diff options
author | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-20 11:21:57 +0000 |
commit | e3053660c673b0a81691175995ee68d00fac869c (patch) | |
tree | 2bce56e94620079087ae16f12c62217d4945e596 /src/station_gui.cpp | |
parent | dc943b35e092f80bb5e3b972b4d5ed73bbccb546 (diff) | |
download | openttd-e3053660c673b0a81691175995ee68d00fac869c.tar.xz |
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index f1cfb5b49..8db32d0ae 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -174,12 +174,12 @@ protected: char buf[64]; SetDParam(0, (*a)->index); - GetString(buf, STR_STATION, lastof(buf)); + GetString(buf, STR_STATION_NAME, lastof(buf)); if (*b != last_station) { last_station = *b; SetDParam(0, (*b)->index); - GetString(buf_cache, STR_STATION, lastof(buf_cache)); + GetString(buf_cache, STR_STATION_NAME, lastof(buf_cache)); } return strcmp(buf, buf_cache); @@ -1002,7 +1002,7 @@ struct StationViewWindow : public Window { case SVW_RENAME: SetDParam(0, this->window_number); - ShowQueryString(STR_STATION, STR_QUERY_RENAME_STATION_CAPTION, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT); + ShowQueryString(STR_STATION_NAME, STR_QUERY_RENAME_STATION_CAPTION, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT); break; case SVW_TRAINS: { // Show a list of scheduled trains to this station |