调整第三方设置不会开辟空间的问题

This commit is contained in:
13038267101 2023-01-11 17:14:56 +08:00
parent 707359d6b7
commit e834401d3f
1 changed files with 2 additions and 2 deletions

View File

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