Blame SOURCES/hplip-hplj-3052.patch
|
|
b1d80f |
diff --git a/scan/scanext/scanext.c b/scan/scanext/scanext.c
|
|
|
b1d80f |
index ff57987..f607220 100755
|
|
|
b1d80f |
--- a/scan/scanext/scanext.c
|
|
|
b1d80f |
+++ b/scan/scanext/scanext.c
|
|
|
b1d80f |
@@ -407,16 +407,6 @@ static PyObject *setOption (_ScanDevice * self, PyObject * args)
|
|
|
b1d80f |
int n;
|
|
|
b1d80f |
multipick = 1;
|
|
|
b1d80f |
|
|
|
b1d80f |
-if(1)
|
|
|
b1d80f |
-{
|
|
|
b1d80f |
-SANE_Bool b = SANE_TRUE;
|
|
|
b1d80f |
- sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
|
|
|
b1d80f |
-}
|
|
|
b1d80f |
-else
|
|
|
b1d80f |
-{
|
|
|
b1d80f |
-SANE_Bool b = SANE_FALSE;
|
|
|
b1d80f |
- sane_control_option (self->h, 9, SANE_ACTION_SET_VALUE, (void *)&b, &i);
|
|
|
b1d80f |
-}
|
|
|
b1d80f |
if (!PyArg_ParseTuple (args, "iO", &n, &value))
|
|
|
b1d80f |
raiseError("Invalid arguments.");
|
|
|
b1d80f |
|