summaryrefslogtreecommitdiff
path: root/cups/ppd-cache.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-08-21 10:09:49 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-08-21 10:09:49 -0400
commitd128cfc60175914a5c92b3b72f1471e6343a211d (patch)
treedc6745bf58df6069840eb6b4c8864e5f739606b3 /cups/ppd-cache.c
parent3416fe952b3852bb7076d64b54048cc2fac1f80c (diff)
downloadcups-d128cfc60175914a5c92b3b72f1471e6343a211d.tar.gz
Don't try to map cupsFinishingTemplate=none, fall back to individual options to get there.
Diffstat (limited to 'cups/ppd-cache.c')
-rw-r--r--cups/ppd-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c
index ef0f6f50e..bae64e059 100644
--- a/cups/ppd-cache.c
+++ b/cups/ppd-cache.c
@@ -367,7 +367,7 @@ _cupsConvertOptions(
if ((finishing_template = cupsGetOption("cupsFinishingTemplate", num_options, options)) == NULL)
finishing_template = cupsGetOption("finishing-template", num_options, options);
- if (finishing_template)
+ if (finishing_template && strcmp(finishing_template, "none"))
{
ipp_t *fin_col = ippNew(); /* finishings-col value */