Mikołaj Zalewski : view: Reset the image left-top corner to the window left-top corner after a Scale to Window .
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Sep 27 13:58:34 CDT 2006
Module: wine
Branch: master
Commit: d35f1d66d69707274300aeccc59c8653b54cc2f9
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d35f1d66d69707274300aeccc59c8653b54cc2f9
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Wed Sep 27 12:03:23 2006 +0200
view: Reset the image left-top corner to the window left-top corner after a Scale to Window.
---
programs/view/view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/programs/view/view.c b/programs/view/view.c
index 7e82ba4..0a5497d 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;
More information about the wine-cvs
mailing list