mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
- Don't crash copying from a null pointer in a non client size calculation
- Several thousand more user32 win winetests should be executed now svn path=/trunk/; revision=40584
This commit is contained in:
parent
51d9909734
commit
35ca7ca698
1 changed files with 7 additions and 1 deletions
|
@ -502,7 +502,13 @@ DefWndNCCalcSize(HWND hWnd, BOOL CalcSizeStruct, RECT *Rect)
|
|||
DWORD Style = GetClassLongW(hWnd, GCL_STYLE);
|
||||
DWORD ExStyle;
|
||||
SIZE WindowBorders;
|
||||
RECT OrigRect = *Rect;
|
||||
RECT OrigRect;
|
||||
|
||||
if (Rect == NULL)
|
||||
{
|
||||
return Result;
|
||||
}
|
||||
OrigRect = *Rect;
|
||||
|
||||
if (CalcSizeStruct)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue