From cad77e7d51aef2c4d938fca592921e14d923f8c5 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 31 Dec 2014 10:37:03 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewXstatusNotify/src/popup.cpp') 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: -- cgit v1.2.3