Merge pull request #250 from scatterflower/boldfix
Fix improper bolding behavior due to malformed string literal
This commit is contained in:
		
						commit
						a31693323c
					
				@ -984,7 +984,7 @@ void Courtroom::set_font(QWidget *widget, QString class_name,
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  bool bold = ao_app->get_design_element(p_identifier + "_bold", design_file, p_char) ==
 | 
			
		||||
              1; // is the font bold or not?
 | 
			
		||||
              "1"; // is the font bold or not?
 | 
			
		||||
  bool antialias =
 | 
			
		||||
      ao_app->get_design_element(p_identifier + "_sharp", design_file, p_char) !=
 | 
			
		||||
      "1"; // is the font anti-aliased or not?
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user