removed duplicate ;

This commit is contained in:
Karl Tauber
2021-06-25 10:48:00 +02:00
parent 2a732306a1
commit 39d2941099
2 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ class LinuxFontPolicy
// find last word in family
int index = family.lastIndexOf( ' ' );
if( index < 0 )
return createFont( "Dialog", style, size, dsize );;
return createFont( "Dialog", style, size, dsize );
// check whether last work contains some font weight (e.g. Ultra-Bold or Heavy)
String lastWord = family.substring( index + 1 ).toLowerCase();