mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:22:58 +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;
|
return Ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue