mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user