diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-27 15:28:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-27 15:28:38 +0300 |
commit | fc03dc9109a6a38dee7c526d757246ef942e9e32 (patch) | |
tree | 9049f48ca669070693ad824ea42eb8f42a0245e8 /plugins/Clist_modern/src/modern_clisttray.cpp | |
parent | 41b76c95667b7f6b27e53486e0df722d51c0a3ec (diff) |
Clist_Modern:
- fixes #1518 (clist_modern account panel filter logic);
- code cleaning
Diffstat (limited to 'plugins/Clist_modern/src/modern_clisttray.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clisttray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clisttray.cpp b/plugins/Clist_modern/src/modern_clisttray.cpp index 3e4a04ba0d..e236e53743 100644 --- a/plugins/Clist_modern/src/modern_clisttray.cpp +++ b/plugins/Clist_modern/src/modern_clisttray.cpp @@ -453,7 +453,7 @@ int cliTrayCalcChanged(const char *szChangedProto, int, int) // if Tipper is missing or turned off for tray, use system tooltips
if (!ServiceExists("mToolTip/ShowTip") || !db_get_b(0, "Tipper", "TrayTip", 1))
- mir_wstrncpy(nid.szTip, g_clistApi.szTip, _countof(nid.szTip));
+ wcsncpy_s(nid.szTip, g_clistApi.szTip, _TRUNCATE);
Shell_NotifyIcon(NIM_MODIFY, &nid);
|