mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
use empty to check string
Origin commit data
------------------
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
This commit is contained in:
@@ -382,7 +382,7 @@ bool CMovieInfo::parseXmlTree(char */*text*/, MI_MOVIE_INFO * /*movie_info*/)
|
||||
}
|
||||
|
||||
delete parser;
|
||||
if (movie_info->epgInfo2 == "") {
|
||||
if (movie_info->epgInfo2.empty()) {
|
||||
movie_info->epgInfo2 = movie_info->epgInfo1;
|
||||
//movie_info->epgInfo1 = "";
|
||||
}
|
||||
@@ -794,7 +794,7 @@ bool CMovieInfo::parseXmlQuickFix(std::string &_text, MI_MOVIE_INFO * movie_info
|
||||
}
|
||||
}
|
||||
|
||||
if (movie_info->epgInfo2 == "") {
|
||||
if (movie_info->epgInfo2.empty()) {
|
||||
movie_info->epgInfo2 = movie_info->epgInfo1;
|
||||
//movie_info->epgInfo1 = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user