修改spin无范围时默认上限为10000
This commit is contained in:
parent
bb4c3ce55a
commit
3ea48c61c1
|
@ -646,7 +646,7 @@ HWND dlg_page::create_control_int(int sn, const SANE_Option_Descriptor* desc, vo
|
|||
}
|
||||
else
|
||||
{
|
||||
int lower = 0, upper = 100;
|
||||
int lower = 0, upper = 10000;
|
||||
if (desc->constraint_type == SANE_CONSTRAINT_RANGE)
|
||||
{
|
||||
lower = desc->constraint.range->min;
|
||||
|
|
Loading…
Reference in New Issue