diff options
author | Vlad Mironov <mironych@googlemail.com> | 2012-07-02 02:27:39 +0000 |
---|---|---|
committer | Vlad Mironov <mironych@googlemail.com> | 2012-07-02 02:27:39 +0000 |
commit | 8ff9ea222993b065a49efa138919b3e062299697 (patch) | |
tree | d8abd90f46be9390143f4ccb15ac3d069397f3c8 /plugins/Variables/parse_miranda.cpp | |
parent | 847064757239d021d1aa612067737865d31aceb2 (diff) |
Крошечная оптимизация.
git-svn-id: http://svn.miranda-ng.org/main/trunk@710 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/parse_miranda.cpp')
-rw-r--r-- | plugins/Variables/parse_miranda.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Variables/parse_miranda.cpp b/plugins/Variables/parse_miranda.cpp index 201f699fbf..926f7fb67b 100644 --- a/plugins/Variables/parse_miranda.cpp +++ b/plugins/Variables/parse_miranda.cpp @@ -147,7 +147,7 @@ static TCHAR *parseContactInfo(ARGUMENTSINFO *ai) if (type == 0)
return NULL;
- return getContactInfoT(type, hContact, 1);
+ return getContactInfoT(type, hContact);
}
static TCHAR *parseDBProfileName(ARGUMENTSINFO *ai)
@@ -478,11 +478,10 @@ static TCHAR *parseSpecialContact(ARGUMENTSINFO *ai) TCHAR *szUniqueID = NULL;
char *szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)ai->fi->hContact, 0);
if (szProto != NULL)
- szUniqueID = getContactInfoT(CNF_UNIQUEID, ai->fi->hContact, 1);
+ szUniqueID = getContactInfoT(CNF_UNIQUEID, ai->fi->hContact);
if (szUniqueID == NULL) {
szProto = PROTOID_HANDLE;
- //szUniqueID = itot((INT_PTR)ai->fi->hContact);
szUniqueID = (TCHAR*)mir_alloc(32);
_stprintf(szUniqueID, _T("%p"), ai->fi->hContact);
if (szProto == NULL || szUniqueID == NULL)
|