summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/Notification.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-05-19 17:35:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-05-19 17:35:44 +0000
commite7a776a6f5ab323cd9dd824e815846ef268fa7f1 (patch)
treeda04a8498aa225d511d53cd7da66ed5d773cbab3 /plugins/NewAwaySysMod/Notification.cpp
parentdd61627f93d5f40f530fa71b827716afa3c7c79e (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@82 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/Notification.cpp')
-rw-r--r--plugins/NewAwaySysMod/Notification.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/Notification.cpp b/plugins/NewAwaySysMod/Notification.cpp
index b1434d0155..56f94b2ca6 100644
--- a/plugins/NewAwaySysMod/Notification.cpp
+++ b/plugins/NewAwaySysMod/Notification.cpp
@@ -30,8 +30,8 @@ void ShowMsg(TCHAR *FirstLine, TCHAR *SecondLine, bool IsErrorMsg, int Timeout)
ppd.lchIcon = LoadIcon(NULL, IsErrorMsg ? IDI_EXCLAMATION : IDI_INFORMATION);
// lstrcpy(ppd.lpzContactName, FirstLine);
// lstrcpy(ppd.lpzText, SecondLine);
- lstrcpy(ppd.lpwzContactName, FirstLine);
- lstrcpy(ppd.lpwzText, SecondLine);
+ lstrcpy(ppd.lptzContactName, FirstLine);
+ lstrcpy(ppd.lptzText, SecondLine);
ppd.colorBack = IsErrorMsg ? 0x0202E3 : 0xE8F1FD;
ppd.colorText = IsErrorMsg ? 0xE8F1FD : 0x000000;
ppd.iSeconds = Timeout;
@@ -223,7 +223,7 @@ int ShowPopupNotification(COptPage &PopupNotifyData, HANDLE hContact, int iStatu
TCString szUIN;
_ultot(VarParseData.UIN, szUIN.GetBuffer(16), 10);
szUIN.ReleaseBuffer();
- TCHAR *szStatDesc = iStatusMode ? (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, iStatusMode, GCMDF_TCHAR) : STR_XSTATUSDESC;
+ TCHAR *szStatDesc = iStatusMode ? (TCHAR*)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, iStatusMode, GSMDF_TCHAR) : STR_XSTATUSDESC;
_ASSERT(szStatDesc);
PopupMsg = TCString((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR)) + _T(" (") + szUIN + TranslateT(") is reading your ") + szStatDesc + TranslateT(" message:\r\n") + ExtraText;
}