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/DbEditorPP/src/exportimport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/DbEditorPP/src/exportimport.cpp') diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp index 5f118fd7a6..18790a530c 100644 --- a/plugins/DbEditorPP/src/exportimport.cpp +++ b/plugins/DbEditorPP/src/exportimport.cpp @@ -119,7 +119,7 @@ char* NickFromHContact(MCONTACT hContact) if (!loaded) { if (szProto[0]) - mir_snprintf(nick, _countof(nick), "%s (%s)", name, szProto); + mir_snprintf(nick, "%s (%s)", name, szProto); else mir_strncpy(nick, name, _countof(nick)); } @@ -128,9 +128,9 @@ char* NickFromHContact(MCONTACT hContact) if ((INT_PTR)uid != CALLSERVICE_NOTFOUND && uid) { char szUID[FLD_SIZE]; GetValueA(hContact, szProto, uid, szUID, _countof(szUID)); - mir_snprintf(nick, _countof(nick), "%s *(%s)*<%s>*{%s}*", name, szProto, uid, szUID); + mir_snprintf(nick, "%s *(%s)*<%s>*{%s}*", name, szProto, uid, szUID); } - else mir_snprintf(nick, _countof(nick), "%s (%s)", name, szProto); + else mir_snprintf(nick, "%s (%s)", name, szProto); } } -- cgit v1.2.3