From db175c358f9717ee54b1101ee2b17a138a8fa602 Mon Sep 17 00:00:00 2001 From: bbbradsmith Date: Fri, 21 Jun 2019 15:51:44 -0400 Subject: [PATCH] cheat.cpp has one more DLGPROC BOOL return fix that I missed --- src/drivers/win/cheat.cpp | 4 ++-- src/drivers/win/cheat.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/win/cheat.cpp b/src/drivers/win/cheat.cpp index 5072bb3f..bdbf48cb 100644 --- a/src/drivers/win/cheat.cpp +++ b/src/drivers/win/cheat.cpp @@ -288,7 +288,7 @@ HWND InitializeCheatList(HWND hwnd) return hwndChtList; } -BOOL CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK CheatConsoleCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) @@ -1044,7 +1044,7 @@ void UpdateCheatsAdded() UpdateCheatListGroupBoxUI(); } -BOOL CALLBACK GGConvCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK GGConvCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { // int i; extern void GetUIGGInfo(HWND hwndDlg, uint32* a, uint8* v, int* c); diff --git a/src/drivers/win/cheat.h b/src/drivers/win/cheat.h index 28acc9e2..c83397a0 100644 --- a/src/drivers/win/cheat.h +++ b/src/drivers/win/cheat.h @@ -38,7 +38,7 @@ void SetupCheatFont(HWND hDlg); void DeleteCheatFont(); extern POINT CalcSubWindowPos(HWND hDlg, POINT* conf); -extern BOOL CALLBACK GGConvCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); +extern INT_PTR CALLBACK GGConvCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); extern LRESULT APIENTRY FilterEditCtrlProc(HWND hDlg, UINT msg, WPARAM wP, LPARAM lP); extern WNDPROC DefaultEditCtrlProc;