Fix parameter passing in NtGdiCreateDC.

svn path=/trunk/; revision=19955
This commit is contained in:
Filip Navara 2005-12-07 22:11:25 +00:00
parent 0638246fcd
commit 1115b4b42d

View file

@ -987,7 +987,9 @@ NtGdiCreateDC(PUNICODE_STRING Driver,
}
}
Ret = IntGdiCreateDC(&SafeDriver, &SafeDevice, NULL, &SafeInitData, FALSE);
Ret = IntGdiCreateDC(NULL == Driver ? NULL : &SafeDriver,
NULL == Device ? NULL : &SafeDevice, NULL,
NULL == InitData ? NULL : &SafeInitData, FLASE);
return Ret;
}