Alexandre Julliard : user:
Fixed WM_ACTIVATEAPP mapping with null task handle.
Alexandre Julliard
julliard at wine.codeweavers.com
Sun May 28 11:33:29 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: ee48e1e3d5aed434f9457d74ef15bb164cf65407
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ee48e1e3d5aed434f9457d74ef15bb164cf65407
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sun May 28 18:26:32 2006 +0200
user: Fixed WM_ACTIVATEAPP mapping with null task handle.
---
dlls/user/winproc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user/winproc.c b/dlls/user/winproc.c
index b993597..0c1f36f 100644
--- a/dlls/user/winproc.c
+++ b/dlls/user/winproc.c
@@ -1520,7 +1520,8 @@ LRESULT WINPROC_CallProc16To32A( winproc
/* We need this when SetActiveWindow sends a Sendmessage16() to
* a 32bit window. Might be superflous with 32bit interprocess
* message queues. */
- ret = callback( hwnd32, msg, wParam, HTASK_32(lParam), result, arg );
+ if (lParam) lParam = HTASK_32(lParam);
+ ret = callback( hwnd32, msg, wParam, lParam, result, arg );
break;
case WM_DDE_INITIATE:
case WM_DDE_TERMINATE:
More information about the wine-cvs
mailing list