mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
commdlg: Fix GlobalReAlloc16 parameter order.
This commit is contained in:
parent
d5bf25f517
commit
f43f37d361
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ static void global_handle_to_16( HGLOBAL16 *h16, HGLOBAL handle )
|
|||
|
||||
if (!handle) return;
|
||||
size = GlobalSize( handle );
|
||||
if (*h16) ret = GlobalReAlloc16( GMEM_MOVEABLE, *h16, size );
|
||||
if (*h16) ret = GlobalReAlloc16( *h16, size, GMEM_MOVEABLE );
|
||||
else ret = GlobalAlloc16( GMEM_MOVEABLE, size );
|
||||
if (ret)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue