fix bug-497
This commit is contained in:
parent
343a17523b
commit
35993f35a7
|
@ -3133,8 +3133,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
|
|||
|
||||
if (user_cancel_)
|
||||
handled = false;
|
||||
else
|
||||
else if (status_ == SCANNER_ERR_OK)
|
||||
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
||||
else
|
||||
ret = status_;
|
||||
}
|
||||
}
|
||||
else if (final_img_index_)
|
||||
|
@ -3143,8 +3145,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
|
|||
|
||||
if (user_cancel_)
|
||||
handled = false;
|
||||
else
|
||||
else if (status_ == SCANNER_ERR_OK)
|
||||
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
||||
else
|
||||
ret = status_;
|
||||
}
|
||||
else
|
||||
handled = false;
|
||||
|
|
Loading…
Reference in New Issue