summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/tlen_thread.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-14 16:51:56 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-14 16:51:56 +0000
commit0aca46cda688ce0042fd3da214cd71d699302168 (patch)
tree8fed7aa780555756ea99b379cf1c5447aeed2451 /protocols/Tlen/src/tlen_thread.cpp
parent3f38d0c43e5658ddbd77c9f0285022a8f7ae0e10 (diff)
unicode popup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen_thread.cpp')
-rw-r--r--protocols/Tlen/src/tlen_thread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tlen/src/tlen_thread.cpp b/protocols/Tlen/src/tlen_thread.cpp
index 081be0df02..0f4a9f8143 100644
--- a/protocols/Tlen/src/tlen_thread.cpp
+++ b/protocols/Tlen/src/tlen_thread.cpp
@@ -1051,10 +1051,10 @@ static void TlenMailPopup(TlenProtocol *proto, char *title, char *emailInfo)
if (!db_get_b(NULL, proto->m_szModuleName, "MailPopupEnabled", TRUE))
return;
- POPUPDATA ppd = { 0 };
+ POPUPDATAT ppd = { 0 };
ppd.lchIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_MAIL));
- strcpy(ppd.lpzContactName, title);
- strcpy(ppd.lpzText, emailInfo);
+ _tcscpy(ppd.lptzContactName, _A2T(title));
+ _tcscpy(ppd.lptzText, _A2T(emailInfo));
ppd.colorBack = db_get_dw(NULL, proto->m_szModuleName, "MailPopupBack", 0);
ppd.colorText = db_get_dw(NULL, proto->m_szModuleName, "MailPopupText", 0);
BYTE delayMode = db_get_b(NULL, proto->m_szModuleName, "MailPopupDelayMode", 0);
@@ -1062,7 +1062,7 @@ static void TlenMailPopup(TlenProtocol *proto, char *title, char *emailInfo)
ppd.iSeconds = db_get_dw(NULL, proto->m_szModuleName, "MailPopupDelay", 4);
else if (delayMode == 2)
ppd.iSeconds = -1;
- PUAddPopup(&ppd);
+ PUAddPopupT(&ppd);
}
/*
* Incoming e-mail notification