From 082a6fda922a55ccfff20f01ac8917719ba574e6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:11:53 -0400 Subject: [PATCH] spelling: unsupported Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../src/com/jpexs/decompiler/flash/helpers/ImageHelper.java | 2 +- libsrc/ffdec_lib/src/com/jpexs/helpers/SerializableImage.java | 2 +- .../decompiler/flash/console/CommandLineArgumentParser.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/ImageHelper.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/ImageHelper.java index ddb163301..ccf9e7b5f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/ImageHelper.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/helpers/ImageHelper.java @@ -228,7 +228,7 @@ public class ImageHelper { return "bmp"; } - throw new Error("Unsuported image format: " + format); + throw new Error("Unsupported image format: " + format); } /** diff --git a/libsrc/ffdec_lib/src/com/jpexs/helpers/SerializableImage.java b/libsrc/ffdec_lib/src/com/jpexs/helpers/SerializableImage.java index d463a7c30..9a6ef104f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/helpers/SerializableImage.java +++ b/libsrc/ffdec_lib/src/com/jpexs/helpers/SerializableImage.java @@ -67,7 +67,7 @@ public class SerializableImage implements Serializable { public SerializableImage(int width, int height, int imageType, int[] pixels) { if (imageType != BufferedImage.TYPE_INT_ARGB_PRE && imageType != BufferedImage.TYPE_INT_RGB) { - throw new Error("Unsuppported image type: " + imageType); + throw new Error("Unsupported image type: " + imageType); } image = new BufferedImage(width, height, imageType); diff --git a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java index 0521c284d..83685e18e 100644 --- a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java +++ b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java @@ -2959,7 +2959,7 @@ public class CommandLineArgumentParser { System.exit(2); } if (!ok) { - System.err.println("Import FAILED. Maybe unsuppoted media type? Only MP3 and uncompressed WAV are available."); + System.err.println("Import FAILED. Maybe unsupported media type? Only MP3 and uncompressed WAV are available."); System.exit(1); } } else if (characterTag instanceof DefineBinaryDataTag) { @@ -3018,7 +3018,7 @@ public class CommandLineArgumentParser { ok = false; } if (!ok) { - System.err.println("Import FAILED. Maybe unsuppoted media type? Only MP3 and uncompressed WAV are available."); + System.err.println("Import FAILED. Maybe unsupported media type? Only MP3 and uncompressed WAV are available."); System.exit(1); } } else if (characterTag instanceof DefineVideoStreamTag) {