summaryrefslogtreecommitdiff
path: root/src/xsane-scan.c
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2008-11-26 22:35:41 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:48 +0000
commitb85ae08349167bed47c71ed7ace8acd275b9ab22 (patch)
tree94694d586ca7782fb453bf07c5251e02b52843d9 /src/xsane-scan.c
parente5485fc0e6e11763f1e4d309c5ccced01802974d (diff)
parentdc7150ada6000f0c8e6ee61da9598573d3b63b7f (diff)
Imported Debian patch 0.996-1debian/0.996-1
Diffstat (limited to 'src/xsane-scan.c')
-rw-r--r--src/xsane-scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsane-scan.c b/src/xsane-scan.c
index d6e164a..fb32ba6 100644
--- a/src/xsane-scan.c
+++ b/src/xsane-scan.c
@@ -1602,6 +1602,7 @@ void xsane_scan_done(SANE_Status status)
else
{
DBG(DBG_info, "Normal end of scan\n");
+ xsane.adf_page_counter = 0;
xsane_set_sensitivity(TRUE); /* reactivate buttons etc */
sane_cancel(xsane.dev); /* stop scanning */
xsane_update_histogram(TRUE /* update raw */);