Fix another bug thanks to GreatLord.
Modified: trunk/reactos/lib/ddraw/main/ddraw.c

Modified: trunk/reactos/lib/ddraw/main/ddraw.c
--- trunk/reactos/lib/ddraw/main/ddraw.c	2005-08-08 16:09:48 UTC (rev 17212)
+++ trunk/reactos/lib/ddraw/main/ddraw.c	2005-08-08 16:18:44 UTC (rev 17213)
@@ -24,7 +24,7 @@
 	This->lpGUID = lpGUID;
 
 	// get the HDC
-	This->hdc = CreateDC (L"Display", NULL, NULL, NULL);
+	This->hdc = GetWindowDC(GetDesktopWindow());
 	This->Height = GetDeviceCaps(This->hdc, HORZRES);
 	This->Width = GetDeviceCaps(This->hdc, VERTRES);
 	This->Bpp = GetDeviceCaps(This->hdc, BITSPIXEL);