Detlef Riekenberg : commdlg: Fix GlobalReAlloc16 parameter order.
Alexandre Julliard
julliard at winehq.org
Mon Feb 20 11:17:34 CST 2012
Module: wine
Branch: master
Commit: f43f37d3613db57c732196f88e1225191cd62c30
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f43f37d3613db57c732196f88e1225191cd62c30
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Mon Feb 20 14:08:18 2012 +0100
commdlg: Fix GlobalReAlloc16 parameter order.
---
dlls/commdlg.dll16/printdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/commdlg.dll16/printdlg.c b/dlls/commdlg.dll16/printdlg.c
index ab6be7c..59239dd 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)
{
More information about the wine-cvs
mailing list