summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-17 12:26:00 +0000
committerrubidium <rubidium@openttd.org>2008-05-17 12:26:00 +0000
commitd8154e00ac8b0df7ad0ac94c90a393aa5096e573 (patch)
tree6a1f76d6e0fff03ef2d0ce4e714e6452f929090b /src/window.cpp
parent976f86e7a755d953e232257fcb017781f26e5265 (diff)
downloadopenttd-d8154e00ac8b0df7ad0ac94c90a393aa5096e573.tar.xz
(svn r13138) -Codechange: remove the need for IsWindowOfPrototype.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp5
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