From f43f37d3613db57c732196f88e1225191cd62c30 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Mon, 20 Feb 2012 14:08:18 +0100 Subject: [PATCH] commdlg: Fix GlobalReAlloc16 parameter order. --- dlls/commdlg.dll16/printdlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/commdlg.dll16/printdlg.c b/dlls/commdlg.dll16/printdlg.c index ab6be7c0978..59239dda326 100644 --- a/dlls/commdlg.dll16/printdlg.c +++ b/dlls/commdlg.dll16/printdlg.c @@ -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) {