mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:35:44 +00:00
Fix parameter passing in NtGdiCreateDC.
svn path=/trunk/; revision=19955
This commit is contained in:
parent
0638246fcd
commit
1115b4b42d
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue