Carl Raffaele : comdlg32: Removed 16 bit dependency.
Alexandre Julliard
julliard at winehq.org
Wed Oct 27 12:50:57 CDT 2010
Module: wine
Branch: master
Commit: 2484b731510be165c12416c4ecea53d9febe169c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2484b731510be165c12416c4ecea53d9febe169c
Author: Carl Raffaele <cjraffae at mtu.edu>
Date: Mon Oct 25 20:54:35 2010 -0400
comdlg32: Removed 16 bit dependency.
---
dlls/comdlg32/cdlg.h | 1 -
dlls/comdlg32/fontdlg.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/cdlg.h b/dlls/comdlg32/cdlg.h
index b56c167..686baea 100644
--- a/dlls/comdlg32/cdlg.h
+++ b/dlls/comdlg32/cdlg.h
@@ -22,7 +22,6 @@
#define _WINE_DLL_CDLG_H
#include "dlgs.h"
-#include "wownt32.h"
/* Common dialogs implementation globals */
#define COMDLG32_Atom ((ATOM)0xa000) /* MS uses this one to identify props */
diff --git a/dlls/comdlg32/fontdlg.c b/dlls/comdlg32/fontdlg.c
index 83400fc..321bfc6 100644
--- a/dlls/comdlg32/fontdlg.c
+++ b/dlls/comdlg32/fontdlg.c
@@ -754,7 +754,7 @@ static LRESULT CFn_WMInitDialog(HWND hDlg, LPARAM lParam, LPCHOOSEFONTW lpcf)
{
j=SendDlgItemMessageW(hDlg,cmb2,CB_SETCURSEL,j,0);
SendMessageW(hDlg,WM_COMMAND,cmb2,
- MAKELONG(HWND_16(GetDlgItem(hDlg,cmb2)),CBN_SELCHANGE));
+ MAKELONG(LOWORD(GetDlgItem(hDlg,cmb2)),CBN_SELCHANGE));
}
}
CFn_ReleaseDC(lpcf, hdc);
More information about the wine-cvs
mailing list