summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/common.c b/common.c
index 0b8cd27..8ca0315 100644
--- a/common.c
+++ b/common.c
@@ -196,18 +196,18 @@ std::string AddExtInfoToDescription(const char *Title, const char *ShortText, co
std::string auxRaw(Aux);
std::string auxEpgsearch = StripXmlTag(auxRaw, "epgsearch");
if (!auxEpgsearch.empty()) {
- if (!desc.str().empty())
- desc << "\n";
- desc << tr("AUXILIARY INFOS") << ":\n";
std::string searchTimer = StripXmlTag(auxEpgsearch, "searchtimer");
if (searchTimer.empty())
// epgsearch < 0.9.21?
searchTimer = StripXmlTag(auxEpgsearch, "Search timer");
- if (searchTimer.empty())
- searchTimer = auxEpgsearch;
- std::stringstream buf;
- buf << " - " << tr("Search timer") << ": " << searchTimer;
- desc << FitToWidth(buf, MAX_CHARS) << "\n";
+ if (!searchTimer.empty()) {
+ if (!desc.str().empty())
+ desc << "\n";
+ desc << tr("AUXILIARY INFOS") << ":\n";
+ std::stringstream buf;
+ buf << " - " << tr("Search timer") << ": " << searchTimer;
+ desc << FitToWidth(buf, MAX_CHARS) << "\n";
+ }
}
}
else {