mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix parameter passing in NtGdiCreateDC.
svn path=/trunk/; revision=19955
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user