Commit 3dcd46f5 authored by Austin Lund's avatar Austin Lund Committed by Alexandre Julliard

user32/tests: Remove superfluous code from WM_PAINT loop test.

parent c3c712c1
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment