diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-20 13:55:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-20 13:55:58 +0000 |
commit | 04f4e2acfbc82946ca3def654214c08071a87359 (patch) | |
tree | 871e1f476ed5086e8ebbd7e182ea2a89707cc249 /protocols/JabberG/src/jabber_misc.cpp | |
parent | 24cbc87262dc8856741db8e9f8388c18b16583ad (diff) |
xml api became a set of functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@14288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index e0961c2a9f..bf376b217d 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -506,10 +506,10 @@ CMString CJabberProto::ExtractImage(HXML node) LPCTSTR src;
CMString link;
- if ((nHtml = xmlGetChild(node, "html")) != NULL &&
- (nBody = xmlGetChild(nHtml, "body")) != NULL &&
- (nImg = xmlGetChild(nBody, "img")) != NULL &&
- (src = xmlGetAttrValue(nImg, _T("src"))) != NULL) {
+ if ((nHtml = XmlGetChild(node, "html")) != NULL &&
+ (nBody = XmlGetChild(nHtml, "body")) != NULL &&
+ (nImg = XmlGetChild(nBody, "img")) != NULL &&
+ (src = XmlGetAttrValue(nImg, _T("src"))) != NULL) {
CMString strSrc(src);
if (strSrc.Left(11).Compare(L"data:image/") == 0) {
|