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
5ea3a044
Commit
5ea3a044
authored
Aug 19, 2019
by
Andrey Gusev
Committed by
Alexandre Julliard
Aug 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32: Add missing debugstr_a.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
904c0dc0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dsm_ctrl.c
dlls/twain_32/dsm_ctrl.c
+3
-3
No files found.
dlls/twain_32/dsm_ctrl.c
View file @
5ea3a044
...
...
@@ -57,12 +57,12 @@ twain_add_onedriver(const char *dsname) {
hmod
=
LoadLibraryA
(
dsname
);
if
(
!
hmod
)
{
ERR
(
"Failed to load TWAIN Source %s
\n
"
,
d
sname
);
ERR
(
"Failed to load TWAIN Source %s
\n
"
,
d
ebugstr_a
(
dsname
)
);
return
;
}
dsEntry
=
(
DSENTRYPROC
)
GetProcAddress
(
hmod
,
"DS_Entry"
);
if
(
!
dsEntry
)
{
ERR
(
"Failed to find DS_Entry() in TWAIN DS %s
\n
"
,
d
sname
);
ERR
(
"Failed to find DS_Entry() in TWAIN DS %s
\n
"
,
d
ebugstr_a
(
dsname
)
);
return
;
}
/* Loop to do multiple detects, mostly for sane.ds and gphoto2.ds */
...
...
@@ -317,7 +317,7 @@ TW_UINT16 TWAIN_OpenDS (pTW_IDENTITY pOrigin, TW_MEMREF pData)
}
hmod
=
LoadLibraryA
(
devices
[
i
].
modname
);
if
(
!
hmod
)
{
ERR
(
"Failed to load TWAIN Source %s
\n
"
,
modname
);
ERR
(
"Failed to load TWAIN Source %s
\n
"
,
debugstr_a
(
modname
)
);
DSM_twCC
=
TWCC_OPERATIONERROR
;
HeapFree
(
GetProcessHeap
(),
0
,
newSource
);
return
TWRC_FAILURE
;
...
...
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