Skip to content

Commit

Permalink
Fix improper bolding behavior due to malformed string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
scatterflower committed Aug 16, 2020
1 parent ec1c95b commit 42d9396
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 @@ -975,7 +975,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 42d9396

Please sign in to comment.