From 0e8364f874b020c717568afd98d49bc3dc41220d Mon Sep 17 00:00:00 2001 From: Rolf Bensch Date: Mon, 11 Feb 2013 19:58:43 +0100 Subject: [PATCH] allow 0x10 as ADF paper OK --- backend/pixma_imageclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pixma_imageclass.c b/backend/pixma_imageclass.c index 2f30a35ab..1570fe672 100644 --- a/backend/pixma_imageclass.c +++ b/backend/pixma_imageclass.c @@ -148,7 +148,7 @@ static int has_paper (pixma_t * s) { iclass_t *mf = (iclass_t *) s->subdriver; - return (mf->current_status[1] == 0); + return ((mf->current_status[1] & 0x0f) == 0); /* allow 0x10 as ADF paper OK */ } static int