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
1d58b7e1
Commit
1d58b7e1
authored
Mar 02, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Mar 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Add a few trace messages useful in following color format.
parent
29df2460
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
capability.c
dlls/sane.ds/capability.c
+3
-0
No files found.
dlls/sane.ds/capability.c
View file @
1d58b7e1
...
...
@@ -386,6 +386,7 @@ static TW_UINT16 SANE_ICAPPixelType (pTW_CAPABILITY pCapability, TW_UINT16 actio
twCC
=
msg_set
(
pCapability
,
&
val
);
if
(
twCC
==
TWCC_SUCCESS
)
{
TRACE
(
"Setting pixeltype to %d
\n
"
,
val
);
if
(
!
pixeltype_to_sane_mode
(
val
,
mode
,
sizeof
(
mode
)))
return
TWCC_BADVALUE
;
...
...
@@ -430,6 +431,7 @@ static TW_UINT16 SANE_ICAPPixelType (pTW_CAPABILITY pCapability, TW_UINT16 actio
case
MSG_GETCURRENT
:
twCC
=
set_onevalue
(
pCapability
,
TWTY_UINT16
,
current_pixeltype
);
TRACE
(
"Returning current pixeltype of %d
\n
"
,
current_pixeltype
);
break
;
}
...
...
@@ -507,6 +509,7 @@ static TW_UINT16 SANE_ICAPBitDepth(pTW_CAPABILITY pCapability, TW_UINT16 action)
/* .. Fall through intentional .. */
case
MSG_GETCURRENT
:
TRACE
(
"Returning current bitdepth of %d
\n
"
,
activeDS
.
sane_param
.
depth
);
twCC
=
set_onevalue
(
pCapability
,
TWTY_UINT16
,
activeDS
.
sane_param
.
depth
);
break
;
}
...
...
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