summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 17:17:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 17:17:58 +0000
commit81c71c6c4cf85e8a7575bdf5a8f7991df1eec8b7 (patch)
treead522ab5f448c23b5032e12831aeb9a863a299d0 /plugins/NewEventNotify
parentd5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e (diff)
replace _tcsncat to mir_tstrncat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewEventNotify')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp
index 784cbb31a7..26abadd88b 100644
--- a/plugins/NewEventNotify/src/popup.cpp
+++ b/plugins/NewEventNotify/src/popup.cpp
@@ -575,7 +575,7 @@ int PopupUpdate(MCONTACT hContact, MEVENT hEvent)
if (pdata->pluginOptions->bShowDate)
_tcsncpy(formatTime, _T("%Y.%m.%d"), SIZEOF(formatTime));
else if (pdata->pluginOptions->bShowTime)
- _tcsncat(formatTime, _T(" %H:%M"), SIZEOF(formatTime) - mir_tstrlen(formatTime));
+ mir_tstrncat(formatTime, _T(" %H:%M"), SIZEOF(formatTime) - mir_tstrlen(formatTime));
time_t localTime = dbe.timestamp;
_tcsftime(timestamp, SIZEOF(timestamp), formatTime, localtime(&localTime));
mir_sntprintf(lpzText, SIZEOF(lpzText), _T("%s[b][i]%s[/i][/b]\n"), lpzText, timestamp);