调整第三方设置不会开辟空间的问题
This commit is contained in:
parent
707359d6b7
commit
e834401d3f
|
@ -1515,8 +1515,8 @@ int hg_scanner::setting_paper(void* data)
|
|||
|
||||
VLOG_MINI_3(LOG_LEVEL_DEBUG_INFO, "Change paper from %s to %s = %s\n", paper_string(old).c_str(), (char*)data, hg_scanner_err_name(ret));
|
||||
|
||||
if(ret == SCANNER_ERR_NOT_EXACT)
|
||||
strcpy((char*)data, paper.c_str());
|
||||
//if(ret == SCANNER_ERR_NOT_EXACT)
|
||||
// strcpy((char*)data, paper.c_str());
|
||||
if(old != image_prc_param_.bits.paper)
|
||||
reset_custom_area_range(image_prc_param_.bits.paper);
|
||||
|
||||
|
|
Loading…
Reference in New Issue