Austin Lund : user32/tests: Remove superfluous code from WM_PAINT loop test .
Alexandre Julliard
julliard at winehq.org
Fri Aug 14 08:59:20 CDT 2009
Module: wine
Branch: master
Commit: 3dcd46f597e3a3cad0c38252ac9c85fb6d7d3ace
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3dcd46f597e3a3cad0c38252ac9c85fb6d7d3ace
Author: Austin Lund <austin.lund at gmail.com>
Date: Fri Aug 14 09:33:18 2009 +1000
user32/tests: Remove superfluous code from WM_PAINT loop test.
---
dlls/user32/tests/win.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 6ec120a..cf1de25 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -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:
More information about the wine-cvs
mailing list