Commit d9dbfa7d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

regedit: Remove variable hdc which is not really used from OnPaint.

parent 1419a3fe
...@@ -94,10 +94,9 @@ static void OnPaint(HWND hWnd) ...@@ -94,10 +94,9 @@ static void OnPaint(HWND hWnd)
{ {
PAINTSTRUCT ps; PAINTSTRUCT ps;
RECT rt; RECT rt;
HDC hdc;
GetClientRect(hWnd, &rt); GetClientRect(hWnd, &rt);
hdc = BeginPaint(hWnd, &ps); BeginPaint(hWnd, &ps);
FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE)); FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE));
EndPaint(hWnd, &ps); EndPaint(hWnd, &ps);
} }
......
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