]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Forgot one spot for BeginData.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Thu, 3 Jan 2002 20:40:34 +0000 (20:40 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Thu, 3 Jan 2002 20:40:34 +0000 (20:40 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@2018 7a7537e8-13f0-0310-91df-b6672ffda945

filter/pstops.c

index 8b38fd219f7b699d841abff57a8cbb1c636ededb..56617d831ae5ea88f721f6357a5e05151c0c37c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: pstops.c,v 1.68 2002/01/03 16:19:12 mike Exp $"
+ * "$Id: pstops.c,v 1.69 2002/01/03 20:40:34 mike Exp $"
  *
  *   PostScript filter for the Common UNIX Printing System (CUPS).
  *
@@ -448,7 +448,7 @@ main(int  argc,                     /* I - Number of command-line arguments */
       }
       else if (strncmp(line, "%%BeginBinary:", 14) == 0 ||
                (strncmp(line, "%%BeginData:", 12) == 0 &&
-               strstr(line, "Binary") != NULL))
+               strstr(line, "ASCII") == NULL && strstr(line, "Hex") == NULL))
       {
        /*
         * Copy binary data...
@@ -1113,5 +1113,5 @@ start_nup(int number)     /* I - Page number */
 
 
 /*
- * End of "$Id: pstops.c,v 1.68 2002/01/03 16:19:12 mike Exp $".
+ * End of "$Id: pstops.c,v 1.69 2002/01/03 20:40:34 mike Exp $".
  */