diff options
Diffstat (limited to 'src/modules/protocols/protoopts.cpp')
| -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;
  | 
