Module: wine Branch: stable Commit: 09b159824818db3b53043124bd03d7f634ddb43e URL: http://source.winehq.org/git/wine.git/?a=commit;h=09b159824818db3b53043124bd...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Oct 21 14:48:20 2013 +0200
user32: Fix the scope of a local variable.
(cherry picked from commit 6d0d7e08e51f6dd5870a0b20d2a5b3f2419f2381)
---
dlls/user32/message.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c index 27e3441..69507dc 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -1999,6 +1999,7 @@ static BOOL post_dde_message( struct packed_message *data, const struct send_mes HGLOBAL hunlock = 0; int i; DWORD res; + ULONGLONG hpack;
if (!UnpackDDElParam( info->msg, info->lparam, &uiLo, &uiHi )) return FALSE; @@ -2019,7 +2020,7 @@ static BOOL post_dde_message( struct packed_message *data, const struct send_mes HGLOBAL h = dde_get_pair( (HANDLE)uiHi ); if (h) { - ULONGLONG hpack = pack_ptr( h ); + hpack = pack_ptr( h ); /* send back the value of h on the other side */ push_data( data, &hpack, sizeof(hpack) ); lp = uiLo;