spelling: different

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 09:02:36 -04:00
committed by Jindra Petřík
parent 2cc28e7846
commit 760e649def
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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) {