1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00

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
This commit is contained in:
faust3 2004-02-29 17:42:49 +00:00
parent 8c55d85a17
commit e65a6fc09c

View File

@ -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: