Jeremy White : sane.ds: Initialize the SupportedGroups field when returning a source.

Alexandre Julliard julliard at winehq.org
Thu Jan 29 09:15:37 CST 2009


Module: wine
Branch: master
Commit: 7aa3bb3a68b1b1d5b01ace0dd9fc896c59375e99
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7aa3bb3a68b1b1d5b01ace0dd9fc896c59375e99

Author: Jeremy White <jwhite at winehq.org>
Date:   Wed Jan 28 08:52:52 2009 -0600

sane.ds: Initialize the SupportedGroups field when returning a source.

---

 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);




More information about the wine-cvs mailing list