修复获取文件格式协议初始值索引BUG
This commit is contained in:
parent
3ceff40f82
commit
2cc8378a61
|
@ -2429,7 +2429,7 @@ void huagao_ds::init_support_caps(void)
|
|||
vals.push_back((ImageFileFormat)(int)all[ind].img_format);
|
||||
if ((int)all[ind].img_format == (int)Init) // init.img_format)
|
||||
i = ind - sane_opts::RANGE_POS_ENUM_BEGIN;
|
||||
else if ((int)all[ind].img_format == (int)Now) //now.img_format)
|
||||
if ((int)all[ind].img_format == (int)Now) //now.img_format)
|
||||
n = ind - sane_opts::RANGE_POS_ENUM_BEGIN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue