asmparser: constantpool problem fixed

This commit is contained in:
Honfika
2013-08-28 17:28:21 +02:00
parent dbeda56ea3
commit 5e9ef55911
19 changed files with 488 additions and 433 deletions
@@ -646,7 +646,7 @@ public class ActionPanel extends JPanel implements ActionListener {
setHex(hexButton.isSelected());
} else if (e.getActionCommand().equals("SAVEACTION")) {
try {
src.setActions(ASMParser.parse(0, src.getPos(), true, new StringReader(editor.getText()), SWF.DEFAULT_VERSION), SWF.DEFAULT_VERSION);
src.setActions(ASMParser.parse(0, src.getPos(), true, editor.getText(), SWF.DEFAULT_VERSION), SWF.DEFAULT_VERSION);
setSource(this.src, false);
View.showMessageDialog(this, translate("message.action.saved"));
saveButton.setVisible(false);