summaryrefslogtreecommitdiff
path: root/engine_gui.c
diff options
context:
space:
mode:
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;