aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscatterflower <2956568+scatterflower@users.noreply.github.com>2020-08-16 11:00:03 -0500
committerGitHub <noreply@github.com>2020-08-16 11:00:03 -0500
commita31693323cbebc74fe2657df6dce07943e1bfdb2 (patch)
tree1b59354d0ac5b4694102ce0401b0b2c6cf4c9a31
parentde6a2ba4ae49bc6551265ec097b46f2ab9565e17 (diff)
parent42d939614f2ebe30b087405bed49dd7f3ebc172a (diff)
Merge pull request #250 from scatterflower/boldfix
Fix improper bolding behavior due to malformed string literal
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index a09ea569..fc6747bd 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -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?