diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-12-16 23:12:06 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-12-16 23:12:06 +0000 |
commit | c7b7307fff2c3b3b01517018c65c7af82e7cd3aa (patch) | |
tree | 260b52dd0a97e9be25843abfcba1c0a38334f13b /plugins/Clist_modern/src/modern_rowtemplateopt.cpp | |
parent | e7dcf9d53cd6b8f9732c8fe7fb5bc96f77630863 (diff) |
clist_modern: Some warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_rowtemplateopt.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_rowtemplateopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_rowtemplateopt.cpp b/plugins/Clist_modern/src/modern_rowtemplateopt.cpp index bfb0fd386f..dbdb9b9ecc 100644 --- a/plugins/Clist_modern/src/modern_rowtemplateopt.cpp +++ b/plugins/Clist_modern/src/modern_rowtemplateopt.cpp @@ -326,7 +326,7 @@ void RefreshTree(HWND hwndDlg, HTREEITEM hti) else
mir_sntprintf(buf, SIZEOF(buf), TranslateT("%s, contain %s"), TranslateTS(types[cell->type]), cell->cont != TC_COL ? TranslateT("columns") : TranslateT("lines"));
}
- if (cell->layer) _tcsncat(buf, TranslateT(" layered"), SIZEOF(buf));
+ if (cell->layer) _tcsncat_s(buf, TranslateT(" layered"),_TRUNCATE);
tvi.mask = TVIF_HANDLE | TVIF_TEXT;
tvi.pszText = buf;
TreeView_SetItem(htree, &tvi);
|