summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-03-09 16:16:17 +0000
committerplanetmaker <planetmaker@openttd.org>2013-03-09 16:16:17 +0000
commitc22bbf5293d5727a061ed9839d8ab397710b81d0 (patch)
tree4cecdc676abac4ad4e40c898a73e18c7f479c94c /src/settings_gui.cpp
parent54915063f041d552f2eb86e39bd1637cacbaa32b (diff)
downloadopenttd-c22bbf5293d5727a061ed9839d8ab397710b81d0.tar.xz
(svn r25072) -Codechange: Don't require the custom currency to be the last defined one
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 0b5917490..c7229430d 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -496,7 +496,7 @@ struct GameOptionsWindow : Window {
{
switch (widget) {
case WID_GO_CURRENCY_DROPDOWN: // Currency
- if (index == CUSTOM_CURRENCY_ID) ShowCustCurrency();
+ if (index == CURRENCY_CUSTOM) ShowCustCurrency();
this->opt->locale.currency = index;
ReInitAllWindows();
break;