diff --git a/programs/view/view.c b/programs/view/view.c index 7e82ba41d11..0a5497dd9c7 100644 --- a/programs/view/view.c +++ b/programs/view/view.c @@ -96,6 +96,7 @@ LRESULT CALLBACK WndProc(HWND hwnd, GetClientRect(hwnd, &r); width = r.right - r.left; height = r.bottom - r.top; + deltax = deltay = 0; InvalidateRect( hwnd, NULL, TRUE ); } break;