From c370af60855db957c5b200914bf0bde743845528 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Aug 2015 16:22:41 +0000 Subject: mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever possible git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/ctrl_annivedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/UserInfoEx/src/ctrl_annivedit.cpp') diff --git a/plugins/UserInfoEx/src/ctrl_annivedit.cpp b/plugins/UserInfoEx/src/ctrl_annivedit.cpp index ec8361576f..18e1bda0e6 100644 --- a/plugins/UserInfoEx/src/ctrl_annivedit.cpp +++ b/plugins/UserInfoEx/src/ctrl_annivedit.cpp @@ -364,7 +364,7 @@ INT_PTR CAnnivEditCtrl::DBWriteAnniversaries(MCONTACT hContact) } // delete reluctant items do { - ofs = mir_snprintf(szSet0, _countof(szSet0), "Anniv%d", wIndex); + ofs = mir_snprintf(szSet0, "Anniv%d", wIndex); ret = 1; for (i = 0; i < _countof(szPrefix); i++) { mir_strncpy(szSet0 + ofs, szPrefix[i], _countof(szSet0) - ofs); -- cgit v1.2.3