mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Fix single artist case
This commit is contained in:
@@ -310,7 +310,7 @@ EchonestGenerator::sentenceSummary()
|
|||||||
center = summary.remove( "~" );
|
center = summary.remove( "~" );
|
||||||
if( artists.size() == 2 ) // special case for 2, no comma. ( X and Y )
|
if( artists.size() == 2 ) // special case for 2, no comma. ( X and Y )
|
||||||
suffix = " and ";
|
suffix = " and ";
|
||||||
else
|
else if( artists.size() > 2 )
|
||||||
suffix = ", ";
|
suffix = ", ";
|
||||||
} else {
|
} else {
|
||||||
center = summary.mid( summary.indexOf( "~" ) + 1 );
|
center = summary.mid( summary.indexOf( "~" ) + 1 );
|
||||||
|
Reference in New Issue
Block a user