Skip to content

Commit

Permalink
Merge pull request #250 from scatterflower/boldfix
Browse files Browse the repository at this point in the history
Fix improper bolding behavior due to malformed string literal
  • Loading branch information
mposs00 authored Aug 16, 2020
2 parents de6a2ba + 42d9396 commit a316933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/courtroom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit a316933

Please sign in to comment.