Author: jgardou
Date: Tue Apr 27 00:07:01 2010
New Revision: 47045
URL:
http://svn.reactos.org/svn/reactos?rev=47045&view=rev
Log:
[GDI32]
- This wasn't a fix, it was code readability.
Thanks to physicus for having pointed it.
Modified:
branches/reactos-yarotows/dll/win32/gdi32/objects/dc.c
Modified: branches/reactos-yarotows/dll/win32/gdi32/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/dll/win32/gdi3…
==============================================================================
--- branches/reactos-yarotows/dll/win32/gdi32/objects/dc.c [iso-8859-1] (original)
+++ branches/reactos-yarotows/dll/win32/gdi32/objects/dc.c [iso-8859-1] Tue Apr 27
00:07:01 2010
@@ -60,7 +60,7 @@
DPRINT1("Not a DISPLAY device! %wZ\n", &Device);
}
- hDC = NtGdiOpenDCW( (Default ? &Device : NULL),
+ hDC = NtGdiOpenDCW( (Default ? NULL : &Device),
(PDEVMODEW) lpInitData,
(lpwszOutput ? &Output : NULL),
iType, // DCW 0 and ICW 1.