This commit is contained in:
parent
8ea7334555
commit
2d1cd23569
|
@ -2280,7 +2280,7 @@ int hg_scanner::setting_color_correction(void* data)
|
|||
{
|
||||
if (!is_kernelsnap_3C_cccc && color_correction_)
|
||||
{
|
||||
notify_ui_working_status(hg_log::lang_load(ID_STATU_DESC_SCANNER_ERR_DEVICE_NOT_SUPPORT), SANE_EVENT_ERROR, status_);
|
||||
notify_ui_working_status(hg_log::lang_load(ID_STATU_DESC_SCANNER_ERR_DEVICE_NOT_SUPPORT), SANE_EVENT_ERROR, SCANNER_ERR_DEVICE_NOT_SUPPORT);
|
||||
*((bool*)data) = color_correction_ = false;
|
||||
return SCANNER_ERR_DEVICE_NOT_SUPPORT;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue