diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:37:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-31 10:37:03 +0000 |
commit | cad77e7d51aef2c4d938fca592921e14d923f8c5 (patch) | |
tree | 84ad3fc6acc8fd0d58d843a1c99002f7f2dedf00 /plugins/NewXstatusNotify/src/popup.cpp | |
parent | 5de1b2c939a26695aaab99540fe3d37527512cb3 (diff) |
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/popup.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/popup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/popup.cpp b/plugins/NewXstatusNotify/src/popup.cpp index f57710a6ee..2e37d89fa9 100644 --- a/plugins/NewXstatusNotify/src/popup.cpp +++ b/plugins/NewXstatusNotify/src/popup.cpp @@ -36,7 +36,7 @@ void ShowChangePopup(MCONTACT hContact, HICON hIcon, WORD newStatus, TCHAR *stzT }
_tcsncpy_s(ppd.lptzContactName, buf, _TRUNCATE);
- _tcsncpy(ppd.lptzText, stzText, MAX_SECONDLINE);
+ _tcsncpy(ppd.lptzText, stzText, SIZEOF(ppd.lptzText));
switch (opt.Colors) {
case POPUP_COLOR_OWN:
|