gui/movieinfo: don't show epgInfo2 if it equals epgInfo1

Origin commit data
------------------
Branch: ni/coolstream
Commit: 14ea66b8f1
Author: martii <m4rtii@gmx.de>
Date: 2014-06-19 (Thu, 19 Jun 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-06-19 07:26:31 +02:00
committed by [CST] Focus
parent e4d5855ec0
commit 9b55e4cf9d

View File

@@ -397,8 +397,10 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO & movie_info)
{
std::string print_buffer = movie_info.epgInfo1;
print_buffer += "\n";
print_buffer += movie_info.epgInfo2;
print_buffer += "\n";
if (movie_info.epgInfo1 != movie_info.epgInfo2) {
print_buffer += movie_info.epgInfo2;
print_buffer += "\n";
}
if ( !movie_info.productionCountry.empty() || movie_info.productionDate != 0) {
print_buffer += movie_info.productionCountry;