From 42d939614f2ebe30b087405bed49dd7f3ebc172a Mon Sep 17 00:00:00 2001 From: scatterflower Date: Sun, 16 Aug 2020 10:59:06 -0500 Subject: [PATCH] Fix improper bolding behavior due to malformed string literal --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 98b6a9c..de1273b 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -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?