summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_annivedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_annivedit.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_annivedit.cpp2
1 files changed, 1 insertions, 1 deletions
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);