diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-06 08:20:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-06 08:20:31 +0000 |
commit | 1ba3fd86fd226554722db54232620faf529438e2 (patch) | |
tree | 589072b61ef323de367311476aefb9b81ca49dc0 /src/modules/protocols | |
parent | 0750bd2a0d25bed656d21eb65e6ca6627e7a6b66 (diff) |
misprint in service name
git-svn-id: http://svn.miranda-ng.org/main/trunk@6368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols')
-rw-r--r-- | src/modules/protocols/protoopts.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 9ae635a6c6..0811956fb5 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -427,9 +427,7 @@ static void sttUpdateAccountInfo(HWND hwndDlg, struct TAccMgrData *dat) SetWindowText( GetDlgItem(hwndDlg, IDC_TXT_INFO), TranslateT("Account is disabled. Please activate it to access options."));
}
else {
- char svc[MAXMODULELABELLENGTH];
- mir_snprintf(svc, SIZEOF(svc), "%s%s", pa->szModuleName, PS_CREATEACCMGRUI);
- hwnd = (HWND)CallService(svc, 0, (LPARAM)hwndDlg);
+ hwnd = (HWND)ProtoCallService(pa->szModuleName, PS_CREATEACCMGRUI, 0, (LPARAM)hwndDlg);
if (hwnd && (hwnd != (HWND)CALLSERVICE_NOTFOUND)) {
RECT rc;
|