aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscatterflower <marisaposs@gameboyprinter.moe>2020-08-16 10:59:06 -0500
committerscatterflower <marisaposs@gameboyprinter.moe>2020-08-16 10:59:06 -0500
commit42d939614f2ebe30b087405bed49dd7f3ebc172a (patch)
treed41c98ad4ce71c490307a0b6661333384a7637eb /src
parentec1c95bdb33dd063880c4cb6c3c9c3cf5d0ed454 (diff)
Fix improper bolding behavior due to malformed string literal
Diffstat (limited to 'src')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 98b6a9c3..de1273b6 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?