Author: mbosma
Date: Sat May 12 19:45:54 2007
New Revision: 26726
URL:
http://svn.reactos.org/svn/reactos?rev=26726&view=rev
Log:
Fix warning.
Modified:
trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Ddraw/dd…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/Ddraw/ddraw_main.c Sat May 12 19:45:54 2007
@@ -133,9 +133,9 @@
HWND window;
LPDDRAWI_DIRECTDRAW_INT This = (LPDDRAWI_DIRECTDRAW_INT)iface;
-#if 0 // this check is totally invalid if you ask me - mbosma
/* Get the old window */
window = (HWND) This->lpLcl->hWnd;
+#if 0 // this check is totally invalid if you ask me - mbosma
if(!window)
{
return DDERR_NOHWND;