view: Reset the image left-top corner to the window left-top corner after a Scale to Window.

This commit is contained in:
Mikołaj Zalewski 2006-09-27 12:03:23 +02:00 committed by Alexandre Julliard
parent 4c40a0c2d5
commit d35f1d66d6
1 changed files with 1 additions and 0 deletions

View File

@ -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;