- This wasn't a fix, it was code readability.
Thanks to physicus for having pointed it.
svn path=/branches/reactos-yarotows/; revision=47045
DPRINT1("Not a DISPLAY device! %wZ\n", &Device);
}
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.
(PDEVMODEW) lpInitData,
(lpwszOutput ? &Output : NULL),
iType, // DCW 0 and ICW 1.