#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_batch_scan_bugfix.dpatch by ## ## 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 }