修改spin无范围时默认上限为10000

This commit is contained in:
gb 2022-11-24 14:31:29 +08:00
parent bb4c3ce55a
commit 3ea48c61c1
1 changed files with 1 additions and 1 deletions

View File

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