#35 cjk without sixel
[fanfix.git] / src / jexer / TLabel.java
index 1d65976bba16f3947a3c47498cf552dcdda4f849..38c014c26ea256441d37bb2a03c88417c49fd8c1 100644 (file)
@@ -186,8 +186,8 @@ public class TLabel extends TWidget {
             mnemonicColor.setBackColor(background.getBackColor());
         }
         putStringXY(0, 0, mnemonic.getRawLabel(), color);
-        if (mnemonic.getShortcutIdx() >= 0) {
-            putCharXY(mnemonic.getShortcutIdx(), 0,
+        if (mnemonic.getScreenShortcutIdx() >= 0) {
+            putCharXY(mnemonic.getScreenShortcutIdx(), 0,
                 mnemonic.getShortcut(), mnemonicColor);
         }
     }