Jeff C. H. Wu found a bug whereby typing 'cuig' just after starting Jskad fails
(by producing 'cug') although typing 'kcuig' succeeds. This is now fixed.
This commit is contained in:
parent
6f0390c5d6
commit
bc9a8f4754
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ public class DuffPane extends TibetanPane implements FocusListener {
|
|||
DuffCode dc_1 = null;
|
||||
DuffCode dc_2 = new DuffCode(fontNum, c2);
|
||||
|
||||
if (caret.getDot() > 2) {
|
||||
if (caret.getDot() >= 2) {
|
||||
attr = getTibDoc().getCharacterElement(caret.getDot()-2).getAttributes();
|
||||
fontName = StyleConstants.getFontFamily(attr);
|
||||
if (0 != (fontNum = TibetanMachineWeb.getTMWFontNumber(fontName))) {
|
||||
|
|
Loading…
Reference in a new issue