]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix current image starts at one
authorBastian Dehn <hhaalo@arcor.de>
Tue, 6 Feb 2024 14:54:30 +0000 (15:54 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 6 Feb 2024 14:54:30 +0000 (15:54 +0100)
src/kds_s2000w_handler.c

index 3b5188aff45986e5d9be63ce942b6b11fcb97846..1344bfc0bd8bd50169385727a11e3e85f52a9862 100644 (file)
@@ -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;