This commit is contained in:
parent
2f795b3bbe
commit
38bdfcdc7a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue