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
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static int cursor = 1;
static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
switch (message) { switch (message) {
case WM_DESTROY: case WM_CLOSE:
mp_input_queue_cmd(mp_input_parse_cmd("quit")); mp_input_queue_cmd(mp_input_parse_cmd("quit"));
break; break;
case WM_SYSCOMMAND: case WM_SYSCOMMAND: