Commit f43f37d3 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

commdlg: Fix GlobalReAlloc16 parameter order.

parent d5bf25f5
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment