(svn r26128) -Fix: erroneous cast

This commit is contained in:
rubidium 2013-11-26 15:12:54 +00:00
parent f514e31978
commit b1bcd1adab
1 changed files with 1 additions and 1 deletions

View File

@ -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();