mirror of https://github.com/OpenTTD/OpenTTD
(svn r26128) -Fix: erroneous cast
parent
f514e31978
commit
b1bcd1adab
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue