mitsu70x: Don't break when we're using a raw spool file

...and the library is loaded.
This commit is contained in:
Solomon Peachy 2016-10-27 16:46:44 +09:00
parent fa3bacd780
commit 4395389ef7
1 changed files with 2 additions and 2 deletions

View File

@ -1377,7 +1377,7 @@ skip_status:
sizeof(struct mitsu70x_hdr))))
return CUPS_BACKEND_FAILED;
if (ctx->dl_handle) {
if (ctx->dl_handle && !ctx->raw_format) {
if (ctx->SendImageData(&ctx->output, ctx, d70_library_callback))
return CUPS_BACKEND_FAILED;
@ -1658,7 +1658,7 @@ static int mitsu70x_cmdline_arg(void *vctx, int argc, char **argv)
/* Exported */
struct dyesub_backend mitsu70x_backend = {
.name = "Mitsubishi CP-D70/D707/K60/D80",
.version = "0.50",
.version = "0.51",
.uri_prefix = "mitsu70x",
.cmdline_usage = mitsu70x_cmdline,
.cmdline_arg = mitsu70x_cmdline_arg,