mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r26128) -Fix: erroneous cast
This commit is contained in:
parent
f514e31978
commit
b1bcd1adab
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user