summaryrefslogtreecommitdiffstats
path: root/libvo/w32_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r--libvo/w32_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index 2a46ee1206..e1987927ca 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -24,7 +24,7 @@ static int cursor = 1;
static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
switch (message) {
- case WM_DESTROY:
+ case WM_CLOSE:
mp_input_queue_cmd(mp_input_parse_cmd("quit"));
break;
case WM_SYSCOMMAND: