diff options
author | rubidium <rubidium@openttd.org> | 2008-05-17 12:26:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-17 12:26:00 +0000 |
commit | 7f6ccdc624851aaecce81ccead4f6829925df8d9 (patch) | |
tree | 6a1f76d6e0fff03ef2d0ce4e714e6452f929090b /src/window.cpp | |
parent | baff68179cd235d89596a010d2426cdb8587558d (diff) | |
download | openttd-7f6ccdc624851aaecce81ccead4f6829925df8d9.tar.xz |
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/window.cpp b/src/window.cpp index c9bead7fd..a1222f17c 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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 |