(svn r26128) -Fix: erroneous cast
This commit is contained in:
@@ -215,7 +215,7 @@ struct DropdownWindow : Window {
|
|||||||
{
|
{
|
||||||
if (widget != WID_DM_ITEMS) return;
|
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 y = r.top + 2;
|
||||||
int pos = this->vscroll->GetPosition();
|
int pos = this->vscroll->GetPosition();
|
||||||
|
Reference in New Issue
Block a user