aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 12:32:17 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 14:40:51 +0100
commit7ea92df546c8595ff571787b17d57c08fb06e916 (patch)
tree962b24bb4bf24460ac9e4b366cd3b4c7e8ea9927 /pugl/detail/win.c
parent55689229e1444f8d39d8f4ac13776371b52ed3b3 (diff)
downloadpugl-7ea92df546c8595ff571787b17d57c08fb06e916.tar.gz
pugl-7ea92df546c8595ff571787b17d57c08fb06e916.tar.bz2
pugl-7ea92df546c8595ff571787b17d57c08fb06e916.zip
Remove redundant PuglEventClose
This is identical to PuglEventAny.
Diffstat (limited to 'pugl/detail/win.c')
-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);