This commit is contained in:
luoliangyi 2023-04-12 13:29:52 +08:00
parent 2f795b3bbe
commit 38bdfcdc7a
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ HGResult HGSaneSourceImpl::OpenSelectedDevice(HGWindow parent, class HGSaneDevic
SANE_Handle handle = NULL;
char devName[256] = {0};
if (-2 == show_devlist_ui(&m_saneApi, parent, &handle, devName, 256))
if (-2 == show_devlist_ui(&m_saneApi, NULL, parent, &handle, devName, 256))
{
return HGBASE_ERR_NOTSUPPORT;
}