Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
22bab0aa
Commit
22bab0aa
authored
Feb 09, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Feb 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Return a 0 for MSG_QUERYSUPPORT even for capabilities we don't support.
parent
8dee7519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
capability.c
dlls/sane.ds/capability.c
+5
-0
No files found.
dlls/sane.ds/capability.c
View file @
22bab0aa
...
@@ -259,5 +259,10 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
...
@@ -259,5 +259,10 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
break
;
break
;
}
}
/* Twain specifies that you should return a 0 in response to QUERYSUPPORT,
* even if you don't formally support the capability */
if
(
twCC
==
TWCC_CAPUNSUPPORTED
&&
action
==
MSG_QUERYSUPPORT
)
twCC
=
set_onevalue
(
pCapability
,
0
,
TWTY_INT32
);
return
twCC
;
return
twCC
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment