Commit 05e29587a for imagemagick.org

commit 05e29587a2142aef994e76743364b4e0b9d7469b
Author: Dirk Lemstra <dirk@lemstra.org>
Date:   Sun Jan 25 19:23:11 2026 +0100

    Corrected patch.

diff --git a/coders/msl.c b/coders/msl.c
index 5d86d14b1..ccc1b0828 100644
--- a/coders/msl.c
+++ b/coders/msl.c
@@ -381,7 +381,7 @@ static void MSLStartElement(void *context,const xmlChar *tag,
           /*
             Add noise image.
           */
-          if ((n < 1) || ((n < 1) || (msl_info->image[n] == (Image *) NULL)))
+          if ((n < 1) || (msl_info->image[n] == (Image *) NULL))
             {
               ThrowMSLException(OptionError,"NoImagesDefined",
                 (const char *) tag);