Fix improper bolding behavior due to malformed string literal

This commit is contained in:
scatterflower 2020-08-16 10:59:06 -05:00
parent ec1c95bdb3
commit 42d939614f

View File

@ -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) == 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 = bool antialias =
ao_app->get_design_element(p_identifier + "_sharp", design_file, p_char) != ao_app->get_design_element(p_identifier + "_sharp", design_file, p_char) !=
"1"; // is the font anti-aliased or not? "1"; // is the font anti-aliased or not?