From cbdc9cbc3b9e48694066715b3e0ce93358b9ac1e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Jul 2018 16:01:03 +0300 Subject: fix for a typo --- plugins/Clist_modern/src/modern_clui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src') 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); -- cgit v1.2.3