diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:05:09 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:05:09 +0000 |
commit | b1530a48bd67d19f6a18355e04a884b36c696e8b (patch) | |
tree | 539cc8c4387b586658898a146b8876cc133f8783 /plugins/TipperYM/src/subst.cpp | |
parent | 4e2a8eb11a9a4286eb0bcb3386bab58e87ae4b69 (diff) |
Tipper:
- minor bugfixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/subst.cpp')
-rw-r--r-- | plugins/TipperYM/src/subst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp index d5f9869211..b2765a9b3b 100644 --- a/plugins/TipperYM/src/subst.cpp +++ b/plugins/TipperYM/src/subst.cpp @@ -144,7 +144,7 @@ void FormatTimestamp(DWORD ts, char *szFormat, TCHAR *buff, int bufflen) bool Uid(MCONTACT hContact, char *szProto, TCHAR *buff, int bufflen) { - char *tmpProto = (hContact) ? tmpProto = GetContactProto(hContact) : szProto; + char *tmpProto = (hContact ? GetContactProto(hContact) : szProto); if (tmpProto) { char *szUid = (char*)CallProtoService(tmpProto, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0); if (szUid && (INT_PTR)szUid != CALLSERVICE_NOTFOUND) |