summaryrefslogtreecommitdiff
path: root/engine_gui.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-09-23 02:39:24 +0000
committerbelugas <belugas@openttd.org>2006-09-23 02:39:24 +0000
commit1c56a5ae0fefac5636a7f93c3bed9285fca558d8 (patch)
tree94c5771fcfbd839db8eabe8b14662d04e44ab61c /engine_gui.c
parent0f78b620fbb4e4ca744ceffffc43a9c0846bca12 (diff)
downloadopenttd-1c56a5ae0fefac5636a7f93c3bed9285fca558d8.tar.xz
(svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Diffstat (limited to 'engine_gui.c')
-rw-r--r--engine_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine_gui.c b/engine_gui.c
index d3b3c39c6..8009994ae 100644
--- a/engine_gui.c
+++ b/engine_gui.c
@@ -92,7 +92,7 @@ static void EnginePreviewWndProc(Window *w, WindowEvent *e)
}
case WE_CLICK:
- switch (e->click.widget) {
+ switch (e->we.click.widget) {
case 3:
DeleteWindow(w);
break;