Module: wine Branch: master Commit: 6d0d7e08e51f6dd5870a0b20d2a5b3f2419f2381 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6d0d7e08e51f6dd5870a0b20d2...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Oct 21 14:48:20 2013 +0200
user32: Fix the scope of a local variable.
---
dlls/user32/message.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c index b6720fb..d09e5dd 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;