From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BuddyExpectator/src/BuddyExpectator.cpp | 4 ++-- plugins/BuddyExpectator/src/options.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/BuddyExpectator/src') diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 4d892a16f8..0b5bbc73e8 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -286,7 +286,7 @@ void ReturnNotify(MCONTACT hContact, TCHAR *message) TCHAR* nick = (TCHAR*)pcli->pfnGetContactDisplayName(hContact, 0); TCHAR tmpMsg[512]; - mir_sntprintf(tmpMsg, _T("%s %s"), nick, message); + mir_sntprintf(tmpMsg, L"%s %s", nick, message); cle.ptszTooltip = tmpMsg; pcli->pfnAddEvent(&cle); } @@ -323,7 +323,7 @@ void GoneNotify(MCONTACT hContact, TCHAR *message) TCHAR* nick = (TCHAR*)pcli->pfnGetContactDisplayName(hContact, 0); TCHAR tmpMsg[512]; - mir_sntprintf(tmpMsg, _T("%s %s"), nick, message); + mir_sntprintf(tmpMsg, L"%s %s", nick, message); cle.ptszTooltip = tmpMsg; cle.flags = CLEF_TCHAR; pcli->pfnAddEvent(&cle); diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index ed61fd3362..107eae10f4 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -461,7 +461,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lpar if (tmpTime == -1) SetDlgItemText(hdlg, IDC_EDIT_LASTSEEN, TranslateT("not detected")); else { - _tcsftime(tmpBuf, 50, _T("%#x, %#X"), gmtime(&tmpTime)); + _tcsftime(tmpBuf, 50, L"%#x, %#X", gmtime(&tmpTime)); SetDlgItemText(hdlg, IDC_EDIT_LASTSEEN, tmpBuf); } @@ -469,7 +469,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lpar if (tmpTime == -1) SetDlgItemText(hdlg, IDC_EDIT_LASTINPUT, TranslateT("not found")); else { - _tcsftime(tmpBuf, 50, _T("%#x, %#X"), gmtime(&tmpTime)); + _tcsftime(tmpBuf, 50, L"%#x, %#X", gmtime(&tmpTime)); SetDlgItemText(hdlg, IDC_EDIT_LASTINPUT, tmpBuf); } @@ -481,7 +481,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lpar if (isContactGoneFor((MCONTACT)lparam, options.iAbsencePeriod2)) SetDlgItemText(hdlg, IDC_EDIT_WILLNOTICE, TranslateT("This contact has been absent for an extended period of time.")); else - SetDlgItemText(hdlg, IDC_EDIT_WILLNOTICE, _T("")); + SetDlgItemText(hdlg, IDC_EDIT_WILLNOTICE, L""); CheckDlgButton(hdlg, IDC_CHECK_MISSYOU, db_get_b((MCONTACT)lparam, MODULE_NAME, "MissYou", 0) ? BST_CHECKED : BST_UNCHECKED); CheckDlgButton(hdlg, IDC_CHECK_NOTIFYALWAYS, db_get_b((MCONTACT)lparam, MODULE_NAME, "MissYouNotifyAlways", 0) ? BST_CHECKED : BST_UNCHECKED); -- cgit v1.2.3