diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-29 09:18:52 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-29 09:18:52 +0000 |
commit | 9c9afbb56c8f5ac3e302d0073222e95162513004 (patch) | |
tree | 7d1e870eacec1f49d1f8abb7eb707aa105e31407 /plugins/IEView/src/HTMLBuilder.cpp | |
parent | a743c7d531c07c1fc2a778d7e15189f124aa6e48 (diff) |
IEView: fix(?) avatar path, code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@17042 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/HTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/HTMLBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp index c80d259648..2833d432de 100644 --- a/plugins/IEView/src/HTMLBuilder.cpp +++ b/plugins/IEView/src/HTMLBuilder.cpp @@ -185,10 +185,10 @@ void HTMLBuilder::getUINs(MCONTACT hContact, char *&uinIn, char *&uinOut) hContact = getRealContact(hContact);
ptrT id(Contact_GetInfo(CNF_UNIQUEID, hContact));
- uinIn = mir_utf8encodeT((id != NULL) ? id : _T(""));
+ uinIn = mir_utf8encodeT(id ? id.get() : _T(""));
id = Contact_GetInfo(CNF_UNIQUEID, NULL);
- uinOut = mir_utf8encodeT((id != NULL) ? id : _T(""));
+ uinOut = mir_utf8encodeT(id ? id.get() : _T(""));
}
wchar_t* HTMLBuilder::getContactName(MCONTACT hContact, const char *szProto)
|