Fix improper bolding behavior due to malformed string literal
This commit is contained in:
parent
ec1c95bdb3
commit
42d939614f
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user