mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 13:35:56 +00:00
commdlg: Fix GlobalReAlloc16 parameter order.
This commit is contained in:
parent
d5bf25f517
commit
f43f37d361
|
@ -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