This commit is contained in:
13038267101 2023-05-05 10:18:37 +08:00
parent 8ea7334555
commit 2d1cd23569
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}