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/MirandaG15/src/CNotificationScreen.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/MirandaG15/src/CNotificationScreen.cpp')
-rw-r--r-- | plugins/MirandaG15/src/CNotificationScreen.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/MirandaG15/src/CNotificationScreen.cpp b/plugins/MirandaG15/src/CNotificationScreen.cpp index 0eb1cb3bdc..26955ebf78 100644 --- a/plugins/MirandaG15/src/CNotificationScreen.cpp +++ b/plugins/MirandaG15/src/CNotificationScreen.cpp @@ -35,7 +35,7 @@ bool CNotificationScreen::Initialize() //m_Input.Initialize();
//m_Input.Show(0);
- m_TitleText.SetText(_T("Miranda-IM"));
+ m_TitleText.SetText(L"Miranda-IM");
m_TitleText.SetAlignment(DT_LEFT);
m_Timestamp.SetAlignment(DT_RIGHT);
@@ -125,14 +125,14 @@ void CNotificationScreen::DisplayNotification(CNotificationEntry *pEntry) m_pEntry = pEntry;
if(CConfig::GetIntSetting(NOTIFY_TITLE) == NOTIFY_TITLE_NAME || pEntry->strTitle.empty())
- m_TitleText.SetText(_T("Miranda-IM"));
+ m_TitleText.SetText(L"Miranda-IM");
else
m_TitleText.SetText(pEntry->strTitle);
if(CConfig::GetBoolSetting(NOTIFY_TIMESTAMPS))
m_Timestamp.SetText(strTime);
else
- m_Timestamp.SetText(_T(""));
+ m_Timestamp.SetText(L"");
if(pEntry->hContact)
@@ -249,7 +249,7 @@ void CNotificationScreen::OnEventReceived(CEvent *pEvent) if(CConfig::GetIntSetting(NOTIFY_TITLE) == NOTIFY_TITLE_INFO)
pEntry->strText = pEvent->strValue;
else
- pEntry->strText = strUser + (pEvent->eType == EVENT_IRC_RECEIVED?_T(" - "):_T(": "))+ pEvent->strValue;
+ pEntry->strText = strUser + (pEvent->eType == EVENT_IRC_RECEIVED?L" - ":L": ")+ pEvent->strValue;
}
else
{
@@ -367,8 +367,8 @@ void CNotificationScreen::OnExpiration() delete pEntry;
}
// reset the object's content
- m_EventText.SetText(_T(""));
- m_MessageText.SetText(_T(""));
+ m_EventText.SetText(L"");
+ m_MessageText.SetText(L"");
m_pEntry = NULL;
}
\ No newline at end of file |