From 370cde172bf7159e196840f6f41ee3d02d7f971e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 6 Nov 2014 18:21:27 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@10917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/CheckFeed.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins') diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp index fff3cef96d..e2deb0f122 100644 --- a/plugins/NewsAggregator/Src/CheckFeed.cpp +++ b/plugins/NewsAggregator/Src/CheckFeed.cpp @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2012 Mataes This is free software; you can redistribute it and/or @@ -14,7 +14,7 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this file; see the file license.txt. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. +Boston, MA 02111-1307, USA. */ #include "common.h" @@ -84,37 +84,37 @@ static void XmlToMsg(MCONTACT hContact, CMString &title, CMString &link, CMStrin if (!message) message = mir_tstrdup(TAGSDEFAULT); - if (!title.IsEmpty()) + if (title.IsEmpty()) StrReplace(_T("##"), TranslateT("empty"), message); else StrReplace(_T("#<title>#"), title, message); - if (!link.IsEmpty()) + if (link.IsEmpty()) StrReplace(_T("#<link>#"), TranslateT("empty"), message); else StrReplace(_T("#<link>#"), link, message); - if (!descr.IsEmpty()) + if (descr.IsEmpty()) StrReplace(_T("#<description>#"), TranslateT("empty"), message); else StrReplace(_T("#<description>#"), descr, message); - if (!author.IsEmpty()) + if (author.IsEmpty()) StrReplace(_T("#<author>#"), TranslateT("empty"), message); else StrReplace(_T("#<author>#"), author, message); - if (!comments.IsEmpty()) + if (comments.IsEmpty()) StrReplace(_T("#<comments>#"), TranslateT("empty"), message); else StrReplace(_T("#<comments>#"), comments, message); - if (!guid.IsEmpty()) + if (guid.IsEmpty()) StrReplace(_T("#<guid>#"), TranslateT("empty"), message); else StrReplace(_T("#<guid>#"), guid, message); - if (!category.IsEmpty()) + if (category.IsEmpty()) StrReplace(_T("#<category>#"), TranslateT("empty"), message); else StrReplace(_T("#<category>#"), category, message); @@ -502,7 +502,7 @@ void CheckCurrentFeedAvatar(MCONTACT hContact) if (szData == NULL) return; - + TCHAR *tszData = mir_utf8decodeT(szData); if (!tszData) tszData = mir_a2t(szData); -- cgit v1.2.3