[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:03:29 UTC 2012
The following commit has been merged in the wheezy branch:
commit d817815ac1006a047c5e015f6a02917bd3859ab1
Author: Austin English <austinenglish at gmail.com>
Date: Mon Apr 30 12:16:29 2012 -0500
user32: Make a few more functions hotpatchable.
(cherry picked from commit 6f40cb83e95137ccf118c8cefd7f9e0c867caac7)
diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index 82a571d..08ce674 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -367,7 +367,7 @@ BOOL WINAPI DrawCaptionTempW (HWND hwnd, HDC hdc, const RECT *rect, HFONT hFont,
/***********************************************************************
* AdjustWindowRect (USER32.@)
*/
-BOOL WINAPI AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
+BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
{
return AdjustWindowRectEx( rect, style, menu, 0 );
}
@@ -376,7 +376,7 @@ BOOL WINAPI AdjustWindowRect( LPRECT rect, DWORD style, BOOL menu )
/***********************************************************************
* AdjustWindowRectEx (USER32.@)
*/
-BOOL WINAPI AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL menu, DWORD exStyle )
+BOOL WINAPI DECLSPEC_HOTPATCH AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL menu, DWORD exStyle )
{
if (style & WS_ICONIC) return TRUE;
style &= ~(WS_HSCROLL | WS_VSCROLL);
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index 3e7d9b1..83eab2d 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -2413,7 +2413,7 @@ WORD WINAPI SetWindowWord( HWND hwnd, INT offset, WORD newval )
*
* See SetWindowLongW.
*/
-LONG WINAPI SetWindowLongA( HWND hwnd, INT offset, LONG newval )
+LONG WINAPI DECLSPEC_HOTPATCH SetWindowLongA( HWND hwnd, INT offset, LONG newval )
{
return WIN_SetWindowLong( hwnd, offset, sizeof(LONG), newval, FALSE );
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list