summaryrefslogtreecommitdiff
path: root/protocols/ICQCorp/src/user.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-12-14 22:53:36 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-12-14 22:53:36 +0000
commit4b7e30d64fef3ce4809e3cb16bfa04a3c2269f0f (patch)
treef811b9c8531f1ba0765a1142e8c0957bc7e6a851 /protocols/ICQCorp/src/user.cpp
parent2b962e1ce27336c7ce3a028a8b5f58f8b3a79e78 (diff)
ICQCorp:
-minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@15864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/ICQCorp/src/user.cpp')
-rw-r--r--protocols/ICQCorp/src/user.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/ICQCorp/src/user.cpp b/protocols/ICQCorp/src/user.cpp
index 7b183760bd..73b5bcb98f 100644
--- a/protocols/ICQCorp/src/user.cpp
+++ b/protocols/ICQCorp/src/user.cpp
@@ -92,7 +92,7 @@ static void setTextValue(HWND hWnd, int id, char *value)
///////////////////////////////////////////////////////////////////////////////
-static BOOL CALLBACK icqUserInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK icqUserInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
LPNMHDR hdr;
@@ -146,8 +146,8 @@ int icqUserInfoInitialise(WPARAM wParam, LPARAM lParam)
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = -1900000000;
- odp.pszTitle = Translate(protoName);
- odp.pfnDlgProc = (DLGPROC)icqUserInfoDlgProc;
+ odp.pszTitle = protoName;
+ odp.pfnDlgProc = icqUserInfoDlgProc;
odp.pszTemplate = MAKEINTRESOURCE(IDD_INFO_ICQCORP);
odp.hInstance = hInstance;
UserInfo_AddPage(wParam, &odp);