summaryrefslogtreecommitdiff
path: root/SecureIM/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SecureIM/options.cpp')
-rw-r--r--SecureIM/options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/SecureIM/options.cpp b/SecureIM/options.cpp
index e93057d..e2ba837 100644
--- a/SecureIM/options.cpp
+++ b/SecureIM/options.cpp
@@ -99,7 +99,7 @@ void LV_GetItemTextA(HWND hwnd, WPARAM wparam, int iSubItem, LPSTR text, int cch
* tabbed options dialog
*/
-BOOL CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
+INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
static int iInit = TRUE;
TCITEM tci;
@@ -225,7 +225,7 @@ BOOL CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
}
-BOOL CALLBACK DlgProcOptionsGeneral(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
+INT_PTR CALLBACK DlgProcOptionsGeneral(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
static int iInit = TRUE;
static HIMAGELIST hLarge, hSmall;
@@ -556,7 +556,7 @@ BOOL CALLBACK DlgProcOptionsGeneral(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM
}
-BOOL CALLBACK DlgProcOptionsProto(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
+INT_PTR CALLBACK DlgProcOptionsProto(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
static int iInit = TRUE;
char buf[32];
@@ -701,7 +701,7 @@ BOOL CALLBACK DlgProcOptionsProto(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lP
static BOOL bPGP9;
-BOOL CALLBACK DlgProcOptionsPGP(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
+INT_PTR CALLBACK DlgProcOptionsPGP(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
static int iInit = TRUE;
static HIMAGELIST hLarge, hSmall;
@@ -853,7 +853,7 @@ BOOL CALLBACK DlgProcOptionsPGP(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lPar
}
-BOOL CALLBACK DlgProcOptionsGPG(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
+INT_PTR CALLBACK DlgProcOptionsGPG(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam) {
static int iInit = TRUE;
static HIMAGELIST hLarge, hSmall;
@@ -1926,7 +1926,7 @@ int onRegisterOptions(WPARAM wParam, LPARAM) {
odp.hInstance = g_hInst;
odp.pszTemplate = MAKEINTRESOURCE(IDD_OPTIONSTAB);
odp.pszTitle = (char*)szModuleName;
- odp.pszGroup = Translate("Services");
+ odp.pszGroup = LPGEN("Services");
odp.pfnDlgProc = OptionsDlgProc;
CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
return 0;