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:
parent
20a0b734f0
commit
421e64f2f9
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user