Issue #330: protection against adding the same multiple cyrillic characters doesn't work

This commit is contained in:
Honfika
2013-08-20 19:12:20 +02:00
parent 018fab22bd
commit 6480721007

View File

@@ -2192,6 +2192,7 @@ public class MainFrame extends AppRibbonFrame implements ActionListener, TreeSel
char c = newchars.charAt(i);
if (oldchars.indexOf((int) c) == -1) {
f.addCharacter(swf.tags, c, fontSelection.getSelectedItem().toString());
oldchars += c;
}
}
fontAddCharactersField.setText("");