[ros-diffs] [jgardou] 47045: [GDI32] - This wasn't a fix, it was code readability. Thanks to physicus for having pointed it.

jgardou at svn.reactos.org jgardou at svn.reactos.org
Tue Apr 27 00:07:02 CEST 2010


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/gdi32/objects/dc.c?rev=47045&r1=47044&r2=47045&view=diff
==============================================================================
--- 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.




More information about the Ros-diffs mailing list