summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ex_import
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-01 04:50:22 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-01 04:50:22 +0000
commit41a7300678e4bb3cd703e2c236e57af4a31962c7 (patch)
tree36318f807498cf15b405eda5c451fd37bfe1b675 /plugins/UserInfoEx/src/ex_import
parent97e0ada5c34d6e7eba1cf47a8d8ac029197be6de (diff)
mir_snprintf(..., sizeof() -> SIZEOF(), ...)
small fixs cleanups git-svn-id: http://svn.miranda-ng.org/main/trunk@11188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import')
-rw-r--r--plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
index 5d34c90513..12201aea07 100644
--- a/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
+++ b/plugins/UserInfoEx/src/ex_import/classExImContactBase.cpp
@@ -292,12 +292,12 @@ void CExImContactBase::toIni(FILE* file, int modCount)
if (_pszProto == NULL || !loaded) {
if (_pszProto){
if (_pszNick)
- mir_snprintf(name, sizeof(name),"%s (%s)", _pszNick, _pszProto);
+ mir_snprintf(name, SIZEOF(name),"%s (%s)", _pszNick, _pszProto);
else
- mir_snprintf(name, sizeof(name),"(UNKNOWN) (%s)", _pszProto);
+ mir_snprintf(name, SIZEOF(name),"(UNKNOWN) (%s)", _pszProto);
}
else
- mir_snprintf(name, sizeof(name),"(UNKNOWN)");
+ mir_snprintf(name, SIZEOF(name),"%s", "(UNKNOWN)");
}
else {
// Proto loadet - GetContactName(hContact,pszProto,0)
@@ -316,9 +316,9 @@ void CExImContactBase::toIni(FILE* file, int modCount)
}
LPSTR pszUID = uid2String(FALSE);
if (_pszUIDKey && pszUID)
- mir_snprintf(name, sizeof(name), "%s *(%s)*<%s>*{%s}*", pszCI, _pszProto, _pszUIDKey, pszUID);
+ mir_snprintf(name, SIZEOF(name), "%s *(%s)*<%s>*{%s}*", pszCI, _pszProto, _pszUIDKey, pszUID);
else
- mir_snprintf(name, sizeof(name), "%s (%s)", pszCI, _pszProto);
+ mir_snprintf(name, SIZEOF(name), "%s (%s)", pszCI, _pszProto);
mir_free(pszCI);
mir_free(pszUID);