changeset 12004:494a93a19242

replace WM_DESTROY with WM_CLOSE to make it possible to play multiple files, patch by Reimar Doeffinger
author faust3
date Sun, 29 Feb 2004 17:42:49 +0000
parents 48f1b211f43b
children a8adfcf47f4e
files libvo/w32_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Fri Feb 27 17:03:08 2004 +0000
+++ b/libvo/w32_common.c	Sun Feb 29 17:42:49 2004 +0000
@@ -24,7 +24,7 @@
 
 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: