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
66b732e4
Commit
66b732e4
authored
Nov 19, 2008
by
Ricardo Filipe
Committed by
Alexandre Julliard
Nov 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sane.ds: Check dead stored status (llvm/clang).
parent
35078f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ds_image.c
dlls/sane.ds/ds_image.c
+8
-1
No files found.
dlls/sane.ds/ds_image.c
View file @
66b732e4
...
...
@@ -100,8 +100,15 @@ TW_UINT16 SANE_ImageInfoGet (pTW_IDENTITY pOrigin,
{
/* return general image description information about the image about to be transferred */
status
=
psane_get_parameters
(
activeDS
.
deviceHandle
,
&
activeDS
.
sane_param
);
activeDS
.
sane_param_valid
=
TRUE
;
TRACE
(
"Getting parameters
\n
"
);
if
(
status
!=
SANE_STATUS_GOOD
)
{
WARN
(
"psane_get_parameters: %s
\n
"
,
psane_strstatus
(
status
));
psane_cancel
(
activeDS
.
deviceHandle
);
activeDS
.
twCC
=
TWCC_OPERATIONERROR
;
return
TWRC_FAILURE
;
}
activeDS
.
sane_param_valid
=
TRUE
;
}
pImageInfo
->
XResolution
.
Whole
=
-
1
;
...
...
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