From b7c74cd5b22618d544a3f4ae124985d4837e3a22 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Jun 2015 22:12:13 +0000 Subject: new mir_snprintf templates without SIZEOF git-svn-id: http://svn.miranda-ng.org/main/trunk@14002 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/options.cpp | 2 +- plugins/SecureIM/src/svcs_rsa.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SecureIM/src') diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp index cadba31b28..a3e2b75b60 100644 --- a/plugins/SecureIM/src/options.cpp +++ b/plugins/SecureIM/src/options.cpp @@ -1298,7 +1298,7 @@ void ApplyProtoSettings(HWND hDlg) pSupPro p = arProto[getListViewProto(hLV, i)]; p->inspecting = ListView_GetCheckState(hLV, i); char tmp[128]; - mir_snprintf(tmp, SIZEOF(tmp), "%s:%d:%d:%d;", p->name, p->inspecting, p->tsplit_on, p->tsplit_off); + mir_snprintf(tmp, "%s:%d:%d:%d;", p->name, p->inspecting, p->tsplit_on, p->tsplit_off); mir_strcat(szNames, tmp); p->split_on = p->tsplit_on; p->split_off = p->tsplit_off; diff --git a/plugins/SecureIM/src/svcs_rsa.cpp b/plugins/SecureIM/src/svcs_rsa.cpp index 9f59e6d3ba..63e3e2455a 100644 --- a/plugins/SecureIM/src/svcs_rsa.cpp +++ b/plugins/SecureIM/src/svcs_rsa.cpp @@ -118,7 +118,7 @@ void __cdecl rsa_notify(HANDLE context, int state) case -0x60: { char buf[1024]; - mir_snprintf(buf, SIZEOF(buf), sim510, -state); + mir_snprintf(buf, sim510, -state); showPopupDCmsg(ptr->hContact, buf); ShowStatusIconNotify(ptr->hContact); if (ptr->cntx) deleteRSAcntx(ptr); -- cgit v1.2.3