diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/Exchange/src/emails.cpp | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange/src/emails.cpp')
-rw-r--r-- | plugins/Exchange/src/emails.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp index a4e80c6c7e..496d8969eb 100644 --- a/plugins/Exchange/src/emails.cpp +++ b/plugins/Exchange/src/emails.cpp @@ -61,11 +61,11 @@ int CExchangeServer::Connect(int bForceConnect) TCHAR password[1024]; //i know
TCHAR server[1024];
- GetStringFromDatabase("Username", _T(""), user, _countof(user));
+ GetStringFromDatabase("Username", L"", user, _countof(user));
_tcsncpy_s(user, VARST(user), _TRUNCATE);
- GetStringFromDatabase("Password", _T(""), password, _countof(password));
- GetStringFromDatabase("Server", _T(""), server, _countof(server));
+ GetStringFromDatabase("Password", L"", password, _countof(password));
+ GetStringFromDatabase("Server", L"", server, _countof(server));
int port = db_get_dw(NULL, ModuleName, "Port", EXCHANGE_PORT);
if (mir_tstrlen(server) > 0) //only connect if there's a server to connect to
@@ -153,7 +153,7 @@ int CExchangeServer::IsServerAvailable() return 0; //server is not available
TCHAR szServer[1024];
- GetStringFromDatabase("Server", _T(""), szServer, sizeof(szServer));
+ GetStringFromDatabase("Server", L"", szServer, sizeof(szServer));
sockaddr_in addrServer;
InitSocketAddr(&addrServer, mir_t2a(szServer));
int res = connect(sServer, (sockaddr *) &addrServer, sizeof(addrServer));
@@ -209,10 +209,10 @@ int CExchangeServer::GetEmailHeader(int iUnreadEmail, TEmailHeader *emailInfo) TCHAR* szSubject = m_HeadersKeeper[iUnreadEmail]->m_szSubject;
if (NULL == szSender)
- szSender = _T("");
+ szSender = L"";
if (NULL == szSubject)
- szSubject = _T("");
+ szSubject = L"";
emailInfo->szSender = szSender;
emailInfo->szSubject = szSubject;
|