aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index 36f76eb..080460d 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -690,7 +690,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
return TRUE;
case WM_QUIT:
case PUGL_LOCAL_CLOSE_MSG:
- event.close.type = PUGL_CLOSE;
+ event.any.type = PUGL_CLOSE;
break;
default:
return DefWindowProc(view->impl->hwnd, message, wParam, lParam);