From 2e2d9de08e3eb747f88cd3a9aeb750a3c34078a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jul 2013 12:01:09 +0000 Subject: code adaptation for getTStringA git-svn-id: http://svn.miranda-ng.org/main/trunk@5508 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_search.cpp') diff --git a/protocols/JabberG/src/jabber_search.cpp b/protocols/JabberG/src/jabber_search.cpp index 342e761c2b..49f946cd42 100644 --- a/protocols/JabberG/src/jabber_search.cpp +++ b/protocols/JabberG/src/jabber_search.cpp @@ -702,7 +702,7 @@ static INT_PTR CALLBACK JabberSearchAdvancedDlgProc(HWND hwndDlg, UINT msg, WPAR HWND __cdecl CJabberProto::CreateExtendedSearchUI(HWND parent) { if (parent && hInst) { - ptrT szServer( db_get_tsa(NULL, m_szModuleName, "LoginServer")); + ptrT szServer( getTStringA("LoginServer")); if (szServer == NULL || _tcsicmp(szServer, _T("S.ms"))) return CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_SEARCHUSER), parent, JabberSearchAdvancedDlgProc, (LPARAM)this); } -- cgit v1.2.3