diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-27 16:01:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-27 16:01:03 +0300 |
commit | cbdc9cbc3b9e48694066715b3e0ce93358b9ac1e (patch) | |
tree | 01bb8c65e99d882d16055b2a7eb1ae2995389e1d /plugins/Clist_modern | |
parent | 3b085fee4a96fed893ab671604595c1bbfd9c53e (diff) |
fix for a typo
Diffstat (limited to 'plugins/Clist_modern')
-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);
|