From: Bastian Dehn Date: Tue, 6 Feb 2024 14:54:30 +0000 (+0100) Subject: fix current image starts at one X-Git-Tag: v1.0.0^2~338 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=bf171f2d4b98095957259cabf364b8b1b104b4cf;p=sane-kds-s2000w-net.git fix current image starts at one --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 3b5188a..1344bfc 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -71,7 +71,7 @@ current_state* kds_s2000w_handler_open() resp = NULL; printf("sessionid: %li\n", state->sessionid); - current_scan_status.current_image_number = 0; + current_scan_status.current_image_number = 1; current_scan_status.available_images = 0; current_scan_status.downloaded_images = 0; current_scan_status.complete_scanned = 0;