summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-26 15:12:54 +0000
committerrubidium <rubidium@openttd.org>2013-11-26 15:12:54 +0000
commitb1bcd1adab165093bc8f737b4e85fec4f3092ee4 (patch)
tree0c4d93adcd3ce4121f79262e6cc38116602720e5
parentf514e3197853694efabad7a084b16e44b54d83b4 (diff)
downloadopenttd-b1bcd1adab165093bc8f737b4e85fec4f3092ee4.tar.xz
(svn r26128) -Fix: erroneous cast
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index 7da533a74..6b0f60e37 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -215,7 +215,7 @@ struct DropdownWindow : Window {
{
if (widget != WID_DM_ITEMS) return;
- TextColour colour = (TextColour)this->GetWidget<NWidgetCore>(widget)->colour;
+ Colours colour = this->GetWidget<NWidgetCore>(widget)->colour;
int y = r.top + 2;
int pos = this->vscroll->GetPosition();