changeset 16288:1cb19a114eb8

DestroyWindow must be used when -wid was not given, so for WinID < 0, not >=0
author reimar
date Mon, 22 Aug 2005 09:05:18 +0000
parents c06b158cd79f
children cafa391ff89c
files libvo/w32_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Mon Aug 22 08:21:43 2005 +0000
+++ b/libvo/w32_common.c	Mon Aug 22 09:05:18 2005 +0000
@@ -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);