From 760e649def7929da30ba910bcabc8cd3ea19cc9e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:02:36 -0400 Subject: [PATCH] spelling: different Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../com/jpexs/decompiler/flash/action/ActionListReader.java | 2 +- .../com/jpexs/decompiler/flash/tags/DefineEditTextTag.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java index 282bd6459..12a90bd2d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/ActionListReader.java @@ -150,7 +150,7 @@ public class ActionListReader { ActionList actions = fixActionList(new ActionList(actionMap.values(), sis.getCharset()), nextOffsets); - // jump to the entry action when it is diffrent from the first action in the map + // jump to the entry action when it is different from the first action in the map if (entryAction != actions.get(0)) { ActionJump jump = new ActionDeobfuscateJump(0, sis.getCharset()); actions.addAction(0, jump); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java index b1e9548ad..bb2acc96b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/DefineEditTextTag.java @@ -1074,7 +1074,7 @@ public class DefineEditTextTag extends TextTag { CharacterWithStyle cs = txt.get(i); char c = cs.character; if (c != '\r' && c != '\n') { - // create new SameStyleTextRecord for all words and all diffrent style text parts + // create new SameStyleTextRecord for all words and all different style text parts if (lastWasWhiteSpace && !Character.isWhitespace(c)) { textModel.newWord(); lastWasWhiteSpace = false; @@ -1300,7 +1300,7 @@ public class DefineEditTextTag extends TextTag { tr2.styleFlagsHasColor = true; tr2.textColorA = tr.style.textColor; } - // always add xOffset, because no xOffset and 0 xOffset is diffrent in text rendering + // always add xOffset, because no xOffset and 0 xOffset is different in text rendering tr2.styleFlagsHasXOffset = true; tr2.xOffset = tr.xOffset; if (yOffset != 0) {