summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-02-29 17:42:49 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-02-29 17:42:49 +0000
commite65a6fc09c48b91cba478ffeb58196adb947b47c (patch)
tree9b9ea1a7a545d79d5ad2ede7112c05286cc05ba2 /libvo
parent8c55d85a17d42803c5c1a2bebea38bb879bfcad7 (diff)
downloadmpv-e65a6fc09c48b91cba478ffeb58196adb947b47c.tar.bz2
mpv-e65a6fc09c48b91cba478ffeb58196adb947b47c.tar.xz
replace WM_DESTROY with WM_CLOSE to make it possible to play multiple files, patch by Reimar Doeffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12005 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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: