canonselphy: Tweak the paper type detection.

This commit is contained in:
Solomon Peachy 2014-01-29 10:26:56 -05:00
parent 3764319eb2
commit 7a4b99f6d7
1 changed files with 1 additions and 1 deletions

View File

@ -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");