From fab18995b2b9885b18fd90e3d14cae2142c5b41f Mon Sep 17 00:00:00 2001 From: Gerhard Jaeger Date: Thu, 15 Jan 2004 17:50:09 +0000 Subject: [PATCH] Fixed preview bug. --- backend/u12.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/u12.c b/backend/u12.c index b2d6be3a8..a1da039c1 100644 --- a/backend/u12.c +++ b/backend/u12.c @@ -79,7 +79,7 @@ #include "../include/sane/sanei.h" #include "../include/sane/saneopts.h" -#define BACKEND_VERSION "0.02-2" +#define BACKEND_VERSION "0.02-3" #define BACKEND_NAME u12 #include "../include/sane/sanei_backend.h" #include "../include/sane/sanei_config.h" @@ -1662,9 +1662,10 @@ SANE_Status sane_start( SANE_Handle handle ) } #endif +#if 0 if( s->val[OPT_PREVIEW].w ) image.dwFlag |= _SCANDEF_PREVIEW; - +#endif /* set adjustments for brightness and contrast */ dev->DataInf.siBrightness = s->val[OPT_BRIGHTNESS].w; dev->DataInf.siContrast = s->val[OPT_CONTRAST].w;