[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd
Alexandre Julliard
julliard at winehq.org
Thu Oct 30 14:44:04 UTC 2008
The following commit has been merged in the lenny branch:
commit 9906ed18cb264a37b35b8a016155881b825a81e5
Author: Lei Zhang <thestig at google.com>
Date: Mon Jul 14 16:51:15 2008 -0700
user32: Clamp newly created windows to the minimum window size.
(cherry picked from commit b3f4091b47e70681a9909bfccd19dee95657fabd)
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 1824a52..11adcec 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -1114,6 +1114,8 @@ static HWND WIN_CreateWindowEx( CREATESTRUCTA *cs, LPCWSTR className, UINT flags
WINPOS_GetMinMaxInfo( hwnd, &maxSize, &maxPos, &minTrack, &maxTrack);
if (maxTrack.x < cx) cx = maxTrack.x;
if (maxTrack.y < cy) cy = maxTrack.y;
+ if (minTrack.x > cx) cx = minTrack.x;
+ if (minTrack.y > cy) cy = minTrack.y;
}
if (cx < 0) cx = 0;
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list