mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 10:43:30 +00:00
user32/tests: Remove superfluous code from WM_PAINT loop test.
This commit is contained in:
parent
c3c712c17f
commit
3dcd46f597
@ -4863,8 +4863,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||
{
|
||||
static UINT ncredrawflags;
|
||||
PAINTSTRUCT ps;
|
||||
RECT rect;
|
||||
BOOL updateRectValue;
|
||||
|
||||
switch(msg)
|
||||
{
|
||||
@ -4872,7 +4870,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||
ncredrawflags = *(UINT *) (((CREATESTRUCT *)lParam)->lpCreateParams);
|
||||
return 0;
|
||||
case WM_NCPAINT:
|
||||
updateRectValue = GetUpdateRect(hwnd, &rect, FALSE);
|
||||
RedrawWindow(hwnd, NULL, NULL, ncredrawflags);
|
||||
break;
|
||||
case WM_PAINT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user