diff options
author | Michael R Sweet <michaelrsweet@gmail.com> | 2018-01-17 14:58:25 -0500 |
---|---|---|
committer | Michael R Sweet <michaelrsweet@gmail.com> | 2018-01-17 14:58:25 -0500 |
commit | 117bf0d1445b73dbd7c0f78c3b599969d828cf63 (patch) | |
tree | 82a7f23138a1bcc5851eeb8033eb0a7056889f4f /cups/testcache.c | |
parent | 4ef3ee3749c0de48ed75800167e65b4b7e3d7c7b (diff) | |
download | cups-117bf0d1445b73dbd7c0f78c3b599969d828cf63.tar.gz |
Fixed an issue with mapping finishing options (rdar://34250727)
cups/ppd-cache:
- Change _ppdCacheGetFinishingValues to take a ppd_file_t * so we can check
marked choices.
- Update _cupsConvertOptions to send the ppd_file_t * to
_ppdCacheGetFinishingValues.
cups/testcache.c:
- Update unit test.
Diffstat (limited to 'cups/testcache.c')
-rw-r--r-- | cups/testcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/testcache.c b/cups/testcache.c index a0fcb4a31..3638a3324 100644 --- a/cups/testcache.c +++ b/cups/testcache.c @@ -64,7 +64,7 @@ main(int argc, /* I - Number of command-line args */ ppdMarkDefaults(ppd); cupsMarkOptions(ppd, num_options, options); - num_finishings = _ppdCacheGetFinishingValues(pc, num_options, options, (int)sizeof(finishings) / sizeof(finishings[0]), finishings); + num_finishings = _ppdCacheGetFinishingValues(ppd, pc, (int)sizeof(finishings) / sizeof(finishings[0]), finishings); if (num_finishings > 0) { |