mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
[WIN32K]
Don't access garbage pointer. svn path=/branches/reactos-yarotows/; revision=46354
This commit is contained in:
parent
c16ad873a6
commit
6ca135323d
|
@ -90,7 +90,7 @@ void
|
|||
DC_InitHack(PDC pdc)
|
||||
{
|
||||
HRGN hVisRgn;
|
||||
|
||||
if (!pdc) return;
|
||||
TextIntRealizeFont(pdc->pdcattr->hlfntNew,NULL);
|
||||
pdc->pdcattr->iCS_CP = ftGdiGetTextCharsetInfo(pdc,NULL,0);
|
||||
|
||||
|
@ -594,7 +594,7 @@ NtGdiCreateCompatibleDC(HDC hdc)
|
|||
{
|
||||
HDC hdcNew;
|
||||
PPDEVOBJ ppdev;
|
||||
PDC pdc, pdcNew;
|
||||
PDC pdc = NULL, pdcNew;
|
||||
|
||||
DPRINT("NtGdiCreateCompatibleDC(0x%p)\n", hdc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue