TWAIN设置纸张协议1122,将值0看作匹配原始尺寸
This commit is contained in:
parent
1b8e8f6aa3
commit
0a808cc59c
|
@ -192,6 +192,9 @@ namespace sane_opt_trans
|
||||||
|
|
||||||
const char* paper_from_twain(int val)
|
const char* paper_from_twain(int val)
|
||||||
{
|
{
|
||||||
|
if (val == 0) // modified for TWAIN, consider this value as PAPER_STATEMENT. 2023-06-03
|
||||||
|
val = PAPER_STATEMENT;
|
||||||
|
|
||||||
VALUE_FROM_TWAIN(g_paper_map, val);
|
VALUE_FROM_TWAIN(g_paper_map, val);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue