]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - filter/pdftops.c
Merge changes from CUPS 1.5b1-r9798.
[thirdparty/cups.git] / filter / pdftops.c
index 391c8d1450485e77f92c3c8ecb35d8143a95e4ba..76da65dba8d00c9c73b163f02c2e8729e3634de4 100644 (file)
@@ -320,8 +320,8 @@ main(int  argc,                             /* I - Number of command-line args */
     if ((val = cupsGetOption("fitplot", num_options, options)) == NULL)
       val = cupsGetOption("fit-to-page", num_options, options);
 
-    if (val && strcasecmp(val, "no") && strcasecmp(val, "off") &&
-       strcasecmp(val, "false"))
+    if (val && _cups_strcasecmp(val, "no") && _cups_strcasecmp(val, "off") &&
+       _cups_strcasecmp(val, "false"))
       fit = 1;
     else
       fit = 0;
@@ -341,8 +341,8 @@ main(int  argc,                             /* I - Number of command-line args */
 
       if ((val = cupsGetOption("landscape", num_options, options)) != NULL)
       {
-       if (strcasecmp(val, "no") != 0 && strcasecmp(val, "off") != 0 &&
-           strcasecmp(val, "false") != 0)
+       if (_cups_strcasecmp(val, "no") != 0 && _cups_strcasecmp(val, "off") != 0 &&
+           _cups_strcasecmp(val, "false") != 0)
          orientation = 1;
       }
       else if ((val = cupsGetOption("orientation-requested", num_options,