mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
Pass a zero instead of dereferencing a null pointer when copying one region
svn path=/trunk/; revision=42891
This commit is contained in:
parent
331c3994d5
commit
9ef29fde4b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ MirrorRgnByWidth(HRGN hRgn, INT Width, HRGN *phRgn)
|
|||
if (phRgn) phRgn = (HRGN *)hRgnex;
|
||||
else
|
||||
{
|
||||
CombineRgn(hRgn, hRgnex, *phRgn, RGN_COPY);
|
||||
CombineRgn(hRgn, hRgnex, 0, RGN_COPY);
|
||||
DeleteObject(hRgnex);
|
||||
}
|
||||
Ret = 1;
|
||||
|
|
Loading…
Reference in a new issue