]> git.ipfire.org Git - thirdparty/cups-filters.git/commitdiff
Re: Fix issue 6. 510/head
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 16 Feb 2023 14:48:32 +0000 (15:48 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 16 Feb 2023 14:48:32 +0000 (15:48 +0100)
Use default branch instead of specific one

filter/rastertoescpx.c

index c28eba0419568bcd51337320af23a7ac2711c356..f060db0b3ce896ba07eb2b3bfae7be97c1f08c91 100644 (file)
@@ -335,8 +335,8 @@ StartPage(ppd_file_t         *ppd,  // I - PPD file
         DitherLuts[6] = ppdLutLoad(ppd, colormodel, header->MediaType,
                                    resolution, "LightBlack", logfunc, ld);
         break;
-    case 0 : // ERROR
-        fputs("ERROR: Unable to allocate band list\n", stderr);
+    default : // ERROR
+        fputs("ERROR: Unexpected number of channels\n", stderr);
         exit(1);
   }