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

This commit is contained in:
martii
2014-06-19 07:26:31 +02:00
committed by [CST] Focus
parent 7cd3a92e10
commit 14ea66b8f1

View File

@@ -397,8 +397,10 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO & movie_info)
{
std::string print_buffer = movie_info.epgInfo1;
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;