diff --git a/sane/scanner.cpp b/sane/scanner.cpp index 2cfeaeb..c987dd7 100644 --- a/sane/scanner.cpp +++ b/sane/scanner.cpp @@ -3318,7 +3318,7 @@ int scanner::handle_device_event(int ev_code, void* data, unsigned int* len) if (indicator_.get()) indicator_->notify_data_arrived(true); else if (ui_notify) - ui_notify(ev_code, data, 1); + ui_notify(ev_code, data, img_ind_); { wchar_t msg[128] = { 0 };