summaryrefslogtreecommitdiff
path: root/SecureIM/options.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-31 16:11:05 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-31 16:11:05 +0000
commitf39683393b0f9c31559ef05c824774541d9a19be (patch)
tree715aca7e40f104ea9839d2ec1bcbf8dfb7d017e3 /SecureIM/options.cpp
parent85863331bd2920991e8e7093a472e60d749b4a7a (diff)
patch by FREAK_THEMIGHTY:
add x64 support added context-sensitive langpacks support git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@252 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
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;