canonselphy: Tweak the paper type detection.
parent
3764319eb2
commit
7a4b99f6d7
|
@ -657,7 +657,7 @@ top:
|
|||
break;
|
||||
|
||||
/* Make sure paper is correct */
|
||||
if (ctx->printer->paper_code_offset != -1) {
|
||||
if (ctx->paper_code != -1) {
|
||||
if ((rdbuf[ctx->printer->paper_code_offset] & 0x0f) !=
|
||||
(ctx->paper_code & 0x0f)) {
|
||||
ERROR("Incorrect paper loaded, aborting job!\n");
|
||||
|
|
Loading…
Reference in New Issue