[twain_32 4/7] Initialize the SupportedGroups field when returning a source.
Jeremy White
jwhite at codeweavers.com
Wed Jan 28 07:47:44 CST 2009
---
dlls/sane.ds/sane_main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/sane.ds/sane_main.c b/dlls/sane.ds/sane_main.c
index 468df3b..413649e 100644
--- a/dlls/sane.ds/sane_main.c
+++ b/dlls/sane.ds/sane_main.c
@@ -615,6 +615,7 @@ SANE_GetIdentity( pTW_IDENTITY pOrigin, pTW_IDENTITY
self) {
return TWRC_FAILURE;
self->ProtocolMajor = TWON_PROTOCOLMAJOR;
self->ProtocolMinor = TWON_PROTOCOLMINOR;
+ self->SupportedGroups = DG_CONTROL | DG_IMAGE;
copy_sane_short_name(sane_devlist[cursanedev]->name,
self->ProductName, sizeof(self->ProductName) - 1);
lstrcpynA (self->Manufacturer, sane_devlist[cursanedev]->vendor,
sizeof(self->Manufacturer) - 1);
lstrcpynA (self->ProductFamily, sane_devlist[cursanedev]->model,
sizeof(self->ProductFamily) - 1);
--
1.5.6.5
More information about the wine-patches
mailing list