summaryrefslogtreecommitdiff
path: root/debian/patches/10_batch_scan_bugfix.dpatch
blob: a875c47dad962fdd03ff1db003d520b8269c030b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_batch_scan_bugfix.dpatch by  <jblache@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix batch scanning bug.

@DPATCH@
diff -urNad xsane-0.97/src/xsane-batch-scan.c /tmp/dpep.7eXNXU/xsane-0.97/src/xsane-batch-scan.c
--- xsane-0.97/src/xsane-batch-scan.c	2005-01-22 15:59:54.000000000 +0100
+++ /tmp/dpep.7eXNXU/xsane-0.97/src/xsane-batch-scan.c	2005-01-27 22:16:31.000000000 +0100
@@ -505,12 +505,12 @@
 
     while (xsane.scanning)
     {
-#if 0
+#if 1
       if (gtk_events_pending())
       {
         gtk_main_iteration();
       }
-#elseif
+#else
       gtk_main_iteration();
 #endif
     }