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

Origin commit data
------------------
Commit: 14ea66b8f1
Author: martii <m4rtii@gmx.de>
Date: 2014-06-19 (Thu, 19 Jun 2014)
This commit is contained in:
martii
2014-06-19 07:26:31 +02:00
committed by [CST] Focus
parent c61d6b20b2
commit 7b6ef6332e

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;