Refactoring - boolean getters and miscellaneous
[fanfix.git] / src / jexer / io / SwingScreen.java
index e06dc83d82212d059c1c709ee613f882f53165b6..bdd74a7ca7e47728905f88f9b7bb58947fe83639 100644 (file)
@@ -159,7 +159,7 @@ public final class SwingScreen extends Screen {
              *   blink
              *   underline
              */
-            if (attr.getBold()) {
+            if (attr.isBold()) {
                 if (attr.getForeColor().equals(jexer.bits.Color.BLACK)) {
                     return MYBOLD_BLACK;
                 } else if (attr.getForeColor().equals(jexer.bits.Color.RED)) {