diff options
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index 714370a6ed..25949d6a19 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -643,7 +643,7 @@ void CLUI_ChangeWindowMode() if (db_get_ws(0, "CList", "TitleText", &dbv))
wcsncpy_s(titleText, _A2W(MIRANDANAME), _TRUNCATE);
else {
- wcsncpy(titleText, dbv.pwszVal, _TRUNCATE);
+ wcsncpy_s(titleText, dbv.pwszVal, _TRUNCATE);
db_free(&dbv);
}
SetWindowText(g_clistApi.hwndContactList, titleText);
|