summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-05-01 17:08:53 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-05-01 17:08:53 +0000
commitef97fb204e8bb9d3924c304b6b44a51070c51177 (patch)
treece49d031fc4a5daaa3ff7377d69b09beea061274 /plugins/Exchange/src/utils.cpp
parent7e2bed99b8564bb1393b0b133c2a3ae415682fde (diff)
Exchange:
-Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@13336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange/src/utils.cpp')
-rw-r--r--plugins/Exchange/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Exchange/src/utils.cpp b/plugins/Exchange/src/utils.cpp
index 4208576f9f..7f05636da4 100644
--- a/plugins/Exchange/src/utils.cpp
+++ b/plugins/Exchange/src/utils.cpp
@@ -224,11 +224,11 @@ int ThreadCheckEmail(int bForceAttempt)
return 0;
}
-void _popupUtil(char* szMsg)
+void _popupUtil(TCHAR* szMsg)
{
POPUPDATAT ppd = {0};
ppd.lchIcon = hiMailIcon;
- _tcscpy(ppd.lptzContactName, _T("Exchange notifier"));
- _tcscpy(ppd.lptzText, mir_a2t(szMsg));
+ _tcsncpy(ppd.lptzContactName, _T("Exchange notifier"), MAX_CONTACTNAME-1);
+ _tcsncpy(ppd.lptzText, szMsg,MAX_SECONDLINE-1);
PUAddPopupT(&ppd); //show a popup to tell the user what we're doing.
}