Remove unneded condition for setting bold font for semibold
This commit is contained in:
		
							parent
							
								
									3cca2516c2
								
							
						
					
					
						commit
						4dda2bc846
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -396,7 +396,7 @@ FontData::FontData(int size, uint32 flags, int family, Font *other) | ||||||
| 	f.setStrikeOut(_flags & FontStrikeOut); | 	f.setStrikeOut(_flags & FontStrikeOut); | ||||||
| 
 | 
 | ||||||
| 	if (_flags & FontSemibold) { | 	if (_flags & FontSemibold) { | ||||||
| 		if (CustomSemiboldIsBold || fontOverride.startsWith("DAOpenSansSemibold")) { | 		if (CustomSemiboldIsBold) { | ||||||
| 			f.setBold(true); | 			f.setBold(true); | ||||||
| 		} else { | 		} else { | ||||||
| 			f.setStyleName("Semibold"); | 			f.setStyleName("Semibold"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue