From b1bcd1adab165093bc8f737b4e85fec4f3092ee4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 26 Nov 2013 15:12:54 +0000 Subject: [PATCH] (svn r26128) -Fix: erroneous cast --- src/widgets/dropdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 7da533a745..6b0f60e37d 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(widget)->colour; + Colours colour = this->GetWidget(widget)->colour; int y = r.top + 2; int pos = this->vscroll->GetPosition();