1
0
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:
rubidium
2008-05-17 12:26:00 +00:00
parent 976f86e7a7
commit d8154e00ac
3 changed files with 11 additions and 17 deletions

View File

@@ -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