summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();