summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQCorp/src/options.cpp')
-rw-r--r--protocols/ICQCorp/src/options.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/ICQCorp/src/options.cpp b/protocols/ICQCorp/src/options.cpp
index a5d88b2b8b..cb0b7e31e0 100644
--- a/protocols/ICQCorp/src/options.cpp
+++ b/protocols/ICQCorp/src/options.cpp
@@ -21,7 +21,7 @@
///////////////////////////////////////////////////////////////////////////////
-static BOOL CALLBACK icqOptionsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK icqOptionsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
DBVARIANT dbv;
char str[128];
@@ -69,18 +69,17 @@ static BOOL CALLBACK icqOptionsDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARA
///////////////////////////////////////////////////////////////////////////////
-int icqOptionsInitialise(WPARAM wParam, LPARAM lParam)
+int icqOptionsInitialise(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = -800000000;
- odp.pszTitle = Translate(protoName);
- odp.pfnDlgProc = (DLGPROC)icqOptionsDlgProc;
+ odp.pszTitle = protoName;
+ odp.pfnDlgProc = icqOptionsDlgProc;
odp.pszTemplate = MAKEINTRESOURCE(IDD_OPT_ICQCORP);
odp.hInstance = hInstance;
- odp.pszGroup = Translate("Network");
+ odp.pszGroup = LPGEN("Network");
odp.flags = ODPF_BOLDGROUPS;
-// odp.nIDBottomSimpleControl = IDC_STICQGROUP;
Options_AddPage(wParam, &odp);
return 0;