projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0638246
)
Fix parameter passing in NtGdiCreateDC.
author
Filip Navara
<filip.navara@gmail.com>
Wed, 7 Dec 2005 22:11:25 +0000
(22:11 +0000)
committer
Filip Navara
<filip.navara@gmail.com>
Wed, 7 Dec 2005 22:11:25 +0000
(22:11 +0000)
svn path=/trunk/; revision=19955
reactos/subsys/win32k/objects/dc.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/dc.c
b/reactos/subsys/win32k/objects/dc.c
index
8f0983b
..
846f306
100644
(file)
--- a/
reactos/subsys/win32k/objects/dc.c
+++ b/
reactos/subsys/win32k/objects/dc.c
@@
-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;
}