From 2033312b437c993cce95c77fc3c2bd44885433b1 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Mon, 9 Feb 2009 13:02:47 -0600 Subject: [PATCH] sane.ds: Add a log message to flag unsupported operations. --- dlls/sane.ds/capability.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c index 66cc1e47309..b66624cf1dd 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; }