diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 13:35:22 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 13:35:22 +0000 |
commit | a0c7844f40b5f5b7f7948d095218889594e2f0ca (patch) | |
tree | 1e1e47807c5acfac9774af28b9fc77d5c5cff346 /plugins/WhenWasIt/src/services.cpp | |
parent | bce04f5be6d0e881b21e8fd43fb12a6045756ebd (diff) |
WhenWasIt:
- minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/services.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/services.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp index 4fde49d657..bf8fa46ff5 100644 --- a/plugins/WhenWasIt/src/services.cpp +++ b/plugins/WhenWasIt/src/services.cpp @@ -180,8 +180,8 @@ void ShowPopupMessage(TCHAR *title, TCHAR *message, HANDLE icon) {
POPUPDATAT pd = {0};
pd.lchIcon = Skin_GetIconByHandle(icon);
- _tcscpy(pd.lptzContactName, title);
- _tcscpy(pd.lptzText, message);
+ _tcsncpy(pd.lptzContactName, title, MAX_CONTACTNAME - 1);
+ _tcsncpy(pd.lptzText, message, MAX_SECONDLINE - 1);
pd.colorText = commonData.foreground;
pd.colorBack = commonData.background;
PUAddPopupT(&pd);
|