summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-02 20:09:16 +0000
committerbjarni <bjarni@openttd.org>2006-09-02 20:09:16 +0000
commitab523bb59f0c2c3beef6b7a87070a2c2a1e4d981 (patch)
tree1d76ddc0a0102e9829207503f6e5aad1380346b1 /window.h
parent14e8615cf277214c4aa8899e3b2c64bb44dc75ef (diff)
downloadopenttd-ab523bb59f0c2c3beef6b7a87070a2c2a1e4d981.tar.xz
(svn r6345) -Codechange: AllocateWindowDescFront() now ensures that window_number is set before calling the WE_CREATE event
this allows using the window_number in WE_CREATE window event handlers
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index 59f54f7f9..98cd797e4 100644
--- a/window.h
+++ b/window.h
@@ -603,7 +603,7 @@ Window *AllocateWindow(
const Widget *widget);
Window *AllocateWindowDesc(const WindowDesc *desc);
-Window *AllocateWindowDescFront(const WindowDesc *desc, int value);
+Window *AllocateWindowDescFront(const WindowDesc *desc, int window_number);
void DrawWindowViewport(Window *w);