diff options
author | Michael R Sweet <michaelrsweet@gmail.com> | 2017-12-07 15:33:34 -0500 |
---|---|---|
committer | Michael R Sweet <michaelrsweet@gmail.com> | 2017-12-07 15:33:34 -0500 |
commit | 01dee74c61bcc948d8d7085bb4cec5c3aca206bc (patch) | |
tree | 75a0a304e4d28b580bf076ac36f5939664ba4b33 /cups/ppd-cache.c | |
parent | c4c36241800202624cae748936da96e315dc017b (diff) | |
download | cups-01dee74c61bcc948d8d7085bb4cec5c3aca206bc.tar.gz |
Fix some typos that prevented the cupsFinishingTemplate option from being
fully populated.
Diffstat (limited to 'cups/ppd-cache.c')
-rw-r--r-- | cups/ppd-cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c index 13fbb401e..c9b8cedac 100644 --- a/cups/ppd-cache.c +++ b/cups/ppd-cache.c @@ -4010,7 +4010,7 @@ _ppdCreateFromIPP(char *buffer, /* I - Filename buffer */ for (i = 0; i < count; i ++) { finishing_col = ippGetCollection(attr, i); - keyword = ippGetString(ippFindAttribute(finishing_col, "finishing_template", IPP_TAG_ZERO), 0, NULL); + keyword = ippGetString(ippFindAttribute(finishing_col, "finishing-template", IPP_TAG_ZERO), 0, NULL); if (!keyword || cupsArrayFind(templates, (void *)keyword)) continue; @@ -4047,12 +4047,12 @@ _ppdCreateFromIPP(char *buffer, /* I - Filename buffer */ { const char *fin_option; /* Current finishing option */ - cupsFilePuts(fp, "*cupsUIConstraint finisings: \"*cupsFinishingTemplate"); + cupsFilePuts(fp, "*cupsUIConstraint finishing-template: \"*cupsFinishingTemplate"); for (fin_option = (const char *)cupsArrayFirst(fin_options); fin_option; fin_option = (const char *)cupsArrayNext(fin_options)) cupsFilePrintf(fp, " %s", fin_option); cupsFilePuts(fp, "\"\n"); - cupsFilePuts(fp, "*cupsUIResolver finisings: \"*cupsFinishingTemplate None"); + cupsFilePuts(fp, "*cupsUIResolver finishing-template: \"*cupsFinishingTemplate None"); for (fin_option = (const char *)cupsArrayFirst(fin_options); fin_option; fin_option = (const char *)cupsArrayNext(fin_options)) cupsFilePrintf(fp, " %s None", fin_option); cupsFilePuts(fp, "\"\n"); |