sane-backends/sane-backends-1.0.21-xerox-mfp-color-mode.patch
2010-11-03 17:58:46 +01:00

35 lines
1.0 KiB
Diff

From 609312a68d12033ba4c9da4638b16e664f2efe28 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils@redhat.com>
Date: Wed, 3 Nov 2010 15:46:08 +0100
Subject: [PATCH] patch: xerox-mfp-color-mode
Squashed commit of the following:
commit 7962d7e7757e2b7b7ef64e17ee921af2f8df193d
Author: Alex Belkin <abc@telekom.ru>
Date: Mon May 3 04:28:47 2010 +0400
Corrected color mode malfunction.
Bug was introduced by mass change to SANE_VALUE macro, (commit ff048f41760c74e67dfea36a079c71fdb72bbf4c).
(cherry picked from commit 043cc4b1651fe602f1b7fb58e6592bd3bef0f4ac)
---
backend/xerox_mfp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/backend/xerox_mfp.c b/backend/xerox_mfp.c
index cda6e82..e6ede0d 100644
--- a/backend/xerox_mfp.c
+++ b/backend/xerox_mfp.c
@@ -386,6 +386,7 @@ static int doc_source_to_code[] = {
static SANE_String_Const scan_modes[] = {
SANE_VALUE_SCAN_MODE_LINEART,
+ SANE_VALUE_SCAN_MODE_HALFTONE,
SANE_VALUE_SCAN_MODE_GRAY,
SANE_VALUE_SCAN_MODE_COLOR,
NULL
--
1.7.3.2