Jeremy White : sane.ds: Add a log message to flag unsupported operations.

Alexandre Julliard julliard at winehq.org
Tue Feb 10 07:45:33 CST 2009


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

Author: Jeremy White <jwhite at winehq.org>
Date:   Mon Feb  9 13:02:47 2009 -0600

sane.ds: Add a log message to flag unsupported operations.

---

 dlls/sane.ds/capability.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c
index 66cc1e4..b66624c 100644
--- a/dlls/sane.ds/capability.c
+++ b/dlls/sane.ds/capability.c
@@ -386,5 +386,8 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
     if (twCC == TWCC_CAPUNSUPPORTED && action == MSG_QUERYSUPPORT)
         twCC = set_onevalue(pCapability, 0, TWTY_INT32);
 
+    if (twCC == TWCC_CAPUNSUPPORTED)
+        TRACE("capability 0x%x/action=%d being reported as unsupported\n", pCapability->Cap, action);
+
     return twCC;
 }




More information about the wine-cvs mailing list