[MPlayer-cvslog] CVS: main/libvo w32_common.c,1.14,1.15

Reimar Döffinger CVS syncmail at mplayerhq.hu
Mon Aug 22 11:05:20 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv1330

Modified Files:
	w32_common.c 
Log Message:
DestroyWindow must be used when -wid was not given, so for WinID < 0, not >=0


Index: w32_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/w32_common.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- w32_common.c	21 Aug 2005 09:59:45 -0000	1.14
+++ w32_common.c	22 Aug 2005 09:05:18 -0000	1.15
@@ -263,7 +263,7 @@
     resetMode();
     ShowCursor(1);
     vo_depthonscreen = 0;
-    if (WinID >= 0)
+    if (WinID < 0)
     DestroyWindow(vo_window);
     vo_window = 0;
     UnregisterClass(classname, 0);




More information about the MPlayer-cvslog mailing list