CHANGES IN CUPS V1.1.20rc1
+ - cupsEncodeOptions() did not allow boolean options to
+ use "yes" and "on" for true values (STR #227)
- The pstops filter only sent the TBCP exit sequence if
it was defined in the JCLEnd attribute in the PPD file
(STR #224)
/*
- * "$Id: encode.c,v 1.1.2.13 2003/02/13 03:23:55 mike Exp $"
+ * "$Id: encode.c,v 1.1.2.14 2003/08/08 20:49:24 mike Exp $"
*
* Option encoding routines for the Common UNIX Printing System (CUPS).
*
break;
case IPP_TAG_BOOLEAN :
- if (strcasecmp(val, "true") == 0)
+ if (!strcasecmp(val, "true") ||
+ !strcasecmp(val, "on") ||
+ !strcasecmp(val, "yes"))
{
/*
* Boolean value - true...
/*
- * End of "$Id: encode.c,v 1.1.2.13 2003/02/13 03:23:55 mike Exp $".
+ * End of "$Id: encode.c,v 1.1.2.14 2003/08/08 20:49:24 mike Exp $".
*/