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
1501d3a4
Commit
1501d3a4
authored
May 11, 2012
by
Christian Costa
Committed by
Alexandre Julliard
May 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmusic: Variable spelling fix.
parent
6894f384
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
instrument.c
dlls/dmusic/instrument.c
+4
-4
No files found.
dlls/dmusic/instrument.c
View file @
1501d3a4
...
@@ -132,16 +132,16 @@ HRESULT DMUSIC_CreateDirectMusicInstrumentImpl (LPCGUID lpcGUID, LPVOID* ppobj,
...
@@ -132,16 +132,16 @@ HRESULT DMUSIC_CreateDirectMusicInstrumentImpl (LPCGUID lpcGUID, LPVOID* ppobj,
static
HRESULT
read_from_stream
(
IStream
*
stream
,
void
*
data
,
ULONG
size
)
static
HRESULT
read_from_stream
(
IStream
*
stream
,
void
*
data
,
ULONG
size
)
{
{
ULONG
reade
d
;
ULONG
bytes_rea
d
;
HRESULT
hr
;
HRESULT
hr
;
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
reade
d
);
hr
=
IStream_Read
(
stream
,
data
,
size
,
&
bytes_rea
d
);
if
(
FAILED
(
hr
)){
if
(
FAILED
(
hr
)){
TRACE
(
"IStream_Read failed: %08x
\n
"
,
hr
);
TRACE
(
"IStream_Read failed: %08x
\n
"
,
hr
);
return
hr
;
return
hr
;
}
}
if
(
readed
<
size
)
{
if
(
bytes_read
<
size
)
{
TRACE
(
"Didn't read full chunk: %u < %u
\n
"
,
reade
d
,
size
);
TRACE
(
"Didn't read full chunk: %u < %u
\n
"
,
bytes_rea
d
,
size
);
return
E_FAIL
;
return
E_FAIL
;
}
}
...
...
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