Ghidra is a software reverse engineering (SRE) framework
GT-2732 - Hovers - review fixes
dragonmachercee63184d002
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/ColorAndStyle.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/ColorAndStyle.javaindex 22cfe39889..fa2080cb90 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/ColorAndStyle.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/ColorAndStyle.java@@ -59,10 +59,10 @@ public class ColorAndStyle {public String toHtml(String text) {String html = text;- if (style == Font.BOLD) {+ if (isBold()) {html = HTMLUtilities.bold(html);}- if (style == Font.ITALIC) {+ if (isItalic()) {html = HTMLUtilities.italic(html);}