mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
This commit is contained in:
@@ -796,11 +796,6 @@ static Window *ForceFindDeletableWindow()
|
||||
NOT_REACHED();
|
||||
}
|
||||
|
||||
bool IsWindowOfPrototype(const Window *w, const Widget *widget)
|
||||
{
|
||||
return (w->original_widget == widget);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assign widgets to a new window by initialising its widget pointers, and by
|
||||
* copying the widget array \a widget to \c w->widget to allow for resizable
|
||||
|
Reference in New Issue
Block a user