diff options
author | belugas <belugas@openttd.org> | 2006-09-23 02:39:24 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-09-23 02:39:24 +0000 |
commit | 1c56a5ae0fefac5636a7f93c3bed9285fca558d8 (patch) | |
tree | 94c5771fcfbd839db8eabe8b14662d04e44ab61c /engine_gui.c | |
parent | 0f78b620fbb4e4ca744ceffffc43a9c0846bca12 (diff) | |
download | openttd-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.c | 2 |
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; |