diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-10-18 14:17:51 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2019-10-18 14:17:51 -0400 |
commit | b05cf5f65582a665ee83b71d0788b65bf14a51c5 (patch) | |
tree | 7411a2e3af4603c6790194ccad57bc0f9ffe16ec /backend_shinkos1245.c | |
parent | e965f175988683a12678812e20d26273c240dcc9 (diff) | |
download | selphy_print-b05cf5f65582a665ee83b71d0788b65bf14a51c5.tar.gz selphy_print-b05cf5f65582a665ee83b71d0788b65bf14a51c5.tar.bz2 selphy_print-b05cf5f65582a665ee83b71d0788b65bf14a51c5.zip |
misc: When there is more than once copy count source, use the largest.
Diffstat (limited to 'backend_shinkos1245.c')
-rw-r--r-- | backend_shinkos1245.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend_shinkos1245.c b/backend_shinkos1245.c index 5103549..136cba0 100644 --- a/backend_shinkos1245.c +++ b/backend_shinkos1245.c @@ -1003,7 +1003,8 @@ static int shinkos1245_read_parse(void *vctx, const void **vjob, int data_fd, in return ret; } - if (job->jp.copies > 1) + /* Use larger of our copy counts */ + if (job->jp.copies > copies) job->copies = job->jp.copies; else job->copies = copies; @@ -1262,7 +1263,7 @@ static const char *shinkos1245_prefixes[] = { struct dyesub_backend shinkos1245_backend = { .name = "Shinko/Sinfonia CHC-S1245/E1", - .version = "0.31" " (lib " LIBSINFONIA_VER ")", + .version = "0.32" " (lib " LIBSINFONIA_VER ")", .uri_prefixes = shinkos1245_prefixes, .cmdline_usage = shinkos1245_cmdline, .cmdline_arg = shinkos1245_cmdline_arg, |