summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-04-12 06:01:24 +0000
committeralberth <alberth@openttd.org>2009-04-12 06:01:24 +0000
commite85e8ca4dbd6344630c934acd6b69c487aba0236 (patch)
tree75da8691e3dfc94d15c95fdd11d5e0e0465d4201
parentaf37375e115c5e1a83812fff4e08fc992e8ceb4b (diff)
downloadopenttd-e85e8ca4dbd6344630c934acd6b69c487aba0236.tar.xz
(svn r16036) -Codechange [FS#2825]: Renamed TVW_SHOWAUTORITY to TVW_SHOWAUTHORITY (bilbo)
-rw-r--r--src/town_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 5e8030d7b..5192137ba 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -227,7 +227,7 @@ private:
TVW_VIEWPORTPANEL,
TVW_INFOPANEL = 5,
TVW_CENTERVIEW,
- TVW_SHOWAUTORITY,
+ TVW_SHOWAUTHORITY,
TVW_CHANGENAME,
TVW_EXPAND,
TVW_DELETE,
@@ -249,7 +249,7 @@ public:
if (this->town->larger_town) this->widget[TVW_CAPTION].data = STR_CITY;
this->SetWidgetHiddenState(TVW_DELETE, ingame); // hide delete button on game mode
this->SetWidgetHiddenState(TVW_EXPAND, ingame); // hide expand button on game mode
- this->SetWidgetHiddenState(TVW_SHOWAUTORITY, !ingame); // hide autority button on editor mode
+ this->SetWidgetHiddenState(TVW_SHOWAUTHORITY, !ingame); // hide autority button on editor mode
if (ingame) {
/* resize caption bar */
@@ -361,7 +361,7 @@ public:
}
break;
- case TVW_SHOWAUTORITY: // town authority
+ case TVW_SHOWAUTHORITY: // town authority
ShowTownAuthorityWindow(this->window_number);
break;