From 97c33e931939adf9a30bdf5cb2e3481d59790599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Mon, 25 May 2015 06:17:56 +0200 Subject: [PATCH 1/2] undo fix for newly created tags --- libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java index 6e8c81b1a..9238a93e9 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/Tag.java @@ -420,6 +420,9 @@ public abstract class Tag implements NeedsCharacters, Exportable, Serializable { public void undo() throws InterruptedException, IOException { byte[] data = getOriginalData(); + if (data == null) { //If the tag is newly created in GUI it has no original data + return; + } SWFInputStream tagDataStream = new SWFInputStream(swf, data, getDataPos(), data.length); readData(tagDataStream, getOriginalRange(), 0, false, true, false); setModified(false); From 7f55a4577304383e637e7dcd5ce794deacb14c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Mon, 25 May 2015 06:19:32 +0200 Subject: [PATCH 2/2] czech translation updated --- .../jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties index c73005244..c38a772fc 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties @@ -602,3 +602,5 @@ tagInfo.neededCharacters = Pot\u0159ebn\u00e9 charaktery button.viewhexpcode = Zobrazit Hex s instrukcemi taginfo.header = Z\u00e1kladn\u00ed informace o tagu + +tagInfo.dependentCharacters = Z\u00e1visl\u00e9 charaktery \ No newline at end of file