From 7a4b99f6d7a2077411136cfb574170347c40763b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 29 Jan 2014 10:26:56 -0500 Subject: [PATCH] canonselphy: Tweak the paper type detection. --- backend_canonselphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend_canonselphy.c b/backend_canonselphy.c index 812d177..f575ec9 100644 --- a/backend_canonselphy.c +++ b/backend_canonselphy.c @@ -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");