1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 04:51:53 +02:00

Fix single artist case

This commit is contained in:
Leo Franchi 2011-01-28 23:01:01 -05:00
parent 20a0b734f0
commit 421e64f2f9

View File

@ -310,7 +310,7 @@ EchonestGenerator::sentenceSummary()
center = summary.remove( "~" );
if( artists.size() == 2 ) // special case for 2, no comma. ( X and Y )
suffix = " and ";
else
else if( artists.size() > 2 )
suffix = ", ";
} else {
center = summary.mid( summary.indexOf( "~" ) + 1 );