Mike McCormack : wineconsole: Use correct prototypes for dialog procs.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 6 05:15:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ce238a4087a598a2348f74cde665a6db9092714b
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ce238a4087a598a2348f74cde665a6db9092714b

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Jun  6 14:33:17 2006 +0900

wineconsole: Use correct prototypes for dialog procs.

---

 programs/wineconsole/dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/programs/wineconsole/dialog.c b/programs/wineconsole/dialog.c
index 73a0987..50fd3a8 100644
--- a/programs/wineconsole/dialog.c
+++ b/programs/wineconsole/dialog.c
@@ -55,7 +55,7 @@ struct dialog_info
  *
  * Dialog prop for the option property sheet
  */
-static BOOL WINAPI WCUSER_OptionDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR WINAPI WCUSER_OptionDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
 {
     struct dialog_info*		di;
     unsigned 			idc;
@@ -516,7 +516,7 @@ static BOOL fill_list_font(struct dialog
  *
  * Dialog proc for the Font property sheet
  */
-static BOOL WINAPI WCUSER_FontDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR WINAPI WCUSER_FontDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
 {
     struct dialog_info*		di;
 
@@ -596,7 +596,7 @@ static BOOL WINAPI WCUSER_FontDlgProc(HW
  *
  * Dialog proc for the config property sheet
  */
-static BOOL WINAPI WCUSER_ConfigDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR WINAPI WCUSER_ConfigDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
 {
     struct dialog_info*		di;
 
@@ -699,7 +699,7 @@ static BOOL WINAPI WCUSER_ConfigDlgProc(
  *      Dialog Procedure for choosing how to handle modification to the
  * console settings.
  */
-static BOOL WINAPI WCUSER_SaveDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR WINAPI WCUSER_SaveDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
 {
     switch (msg)
     {




More information about the wine-cvs mailing list