Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7ea710c6
Commit
7ea710c6
authored
Feb 23, 2022
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Sync up the dmobject.c files.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
25839fff
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
dmobject.c
dlls/dmcompos/dmobject.c
+1
-1
dmobject.c
dlls/dmscript/dmobject.c
+1
-1
dmobject.c
dlls/dmstyle/dmobject.c
+1
-1
dmobject.c
dlls/dmusic/dmobject.c
+1
-1
No files found.
dlls/dmcompos/dmobject.c
View file @
7ea710c6
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
TRACE_
(
dmfile
)(
"IStream_Read failed: %
08
lx
\n
"
,
hr
);
TRACE_
(
dmfile
)(
"IStream_Read failed: %
#
lx
\n
"
,
hr
);
else
if
(
!
read
&&
read
<
size
)
{
else
if
(
!
read
&&
read
<
size
)
{
/* All or nothing: Handle a partial read due to end of stream as an error */
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
...
...
dlls/dmscript/dmobject.c
View file @
7ea710c6
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
TRACE_
(
dmfile
)(
"IStream_Read failed: %
08
lx
\n
"
,
hr
);
TRACE_
(
dmfile
)(
"IStream_Read failed: %
#
lx
\n
"
,
hr
);
else
if
(
!
read
&&
read
<
size
)
{
else
if
(
!
read
&&
read
<
size
)
{
/* All or nothing: Handle a partial read due to end of stream as an error */
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
...
...
dlls/dmstyle/dmobject.c
View file @
7ea710c6
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
TRACE_
(
dmfile
)(
"IStream_Read failed: %
08
lx
\n
"
,
hr
);
TRACE_
(
dmfile
)(
"IStream_Read failed: %
#
lx
\n
"
,
hr
);
else
if
(
!
read
&&
read
<
size
)
{
else
if
(
!
read
&&
read
<
size
)
{
/* All or nothing: Handle a partial read due to end of stream as an error */
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
...
...
dlls/dmusic/dmobject.c
View file @
7ea710c6
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
...
@@ -295,7 +295,7 @@ static HRESULT stream_read(IStream *stream, void *data, ULONG size)
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
read
);
if
(
FAILED
(
hr
))
if
(
FAILED
(
hr
))
TRACE_
(
dmfile
)(
"IStream_Read failed: %
08
lx
\n
"
,
hr
);
TRACE_
(
dmfile
)(
"IStream_Read failed: %
#
lx
\n
"
,
hr
);
else
if
(
!
read
&&
read
<
size
)
{
else
if
(
!
read
&&
read
<
size
)
{
/* All or nothing: Handle a partial read due to end of stream as an error */
/* All or nothing: Handle a partial read due to end of stream as an error */
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
TRACE_
(
dmfile
)(
"Short read: %lu < %lu
\n
"
,
read
,
size
);
...
...
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