通知进度指示器图片到达的len参数,更改为当前已经收到的图片数量
This commit is contained in:
parent
d03b679add
commit
1c75c897be
|
@ -3318,7 +3318,7 @@ int scanner::handle_device_event(int ev_code, void* data, unsigned int* len)
|
||||||
if (indicator_.get())
|
if (indicator_.get())
|
||||||
indicator_->notify_data_arrived(true);
|
indicator_->notify_data_arrived(true);
|
||||||
else if (ui_notify)
|
else if (ui_notify)
|
||||||
ui_notify(ev_code, data, 1);
|
ui_notify(ev_code, data, img_ind_);
|
||||||
|
|
||||||
{
|
{
|
||||||
wchar_t msg[128] = { 0 };
|
wchar_t msg[128] = { 0 };
|
||||||
|
|
Loading…
Reference in New Issue