增加中性版本sane库过滤(仍可识别其他OEM设备)
This commit is contained in:
parent
53d4d6ac09
commit
e52e3c2aff
|
@ -288,6 +288,8 @@ bool HGSaneManagerImpl::filterDeviceSource(const char *sourceName)
|
|||
std::string oemIden = "zgsane";
|
||||
#elif defined(OEM_DELI)
|
||||
std::string oemIden = "dlsane";
|
||||
#elif defined(OEM_NEUTRAL)
|
||||
std::string oemIden = "neusane";
|
||||
#endif
|
||||
|
||||
if (sourceName != strstr(sourceName, oemIden.c_str()))
|
||||
|
|
Loading…
Reference in New Issue