X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTButton.java;h=0fc36a2de2afac6f682e44af5e930289c9cbb60a;hb=0d47c5460c8e9d1198928308767a63ad35f46eb8;hp=ce04f5c79a51de37c935b71bd74e99043aa3dc49;hpb=d09767633248d79d1abc85f94d03b4102fae3f64;p=fanfix.git diff --git a/src/jexer/TButton.java b/src/jexer/TButton.java index ce04f5c..0fc36a2 100644 --- a/src/jexer/TButton.java +++ b/src/jexer/TButton.java @@ -158,11 +158,11 @@ public final class TButton extends TWidget { if (inButtonPress) { getScreen().putCharXY(1, 0, ' ', buttonColor); - getScreen().putStrXY(2, 0, mnemonic.getRawLabel(), buttonColor); + getScreen().putStringXY(2, 0, mnemonic.getRawLabel(), buttonColor); getScreen().putCharXY(getWidth() - 1, 0, ' ', buttonColor); } else { getScreen().putCharXY(0, 0, ' ', buttonColor); - getScreen().putStrXY(1, 0, mnemonic.getRawLabel(), buttonColor); + getScreen().putStringXY(1, 0, mnemonic.getRawLabel(), buttonColor); getScreen().putCharXY(getWidth() - 2, 0, ' ', buttonColor); getScreen().putCharXY(getWidth() - 1, 0,