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
12cb58c4
Commit
12cb58c4
authored
Oct 22, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Data chunks in RIFF file must be word-aligned.
parent
3b602f5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cursoricon.c
dlls/user32/cursoricon.c
+2
-2
No files found.
dlls/user32/cursoricon.c
View file @
12cb58c4
...
...
@@ -967,7 +967,7 @@ static void riff_find_chunk( DWORD chunk_id, DWORD chunk_type, const riff_chunk_
||
(
chunk_type
&&
*
(
DWORD
*
)
ptr
==
chunk_type
&&
*
((
DWORD
*
)
ptr
+
2
)
==
chunk_id
))
{
ptr
+=
sizeof
(
DWORD
);
chunk
->
data_size
=
*
(
DWORD
*
)
ptr
;
chunk
->
data_size
=
(
*
(
DWORD
*
)
ptr
+
1
)
&
~
1
;
ptr
+=
sizeof
(
DWORD
);
if
(
chunk_type
==
ANI_LIST_ID
||
chunk_type
==
ANI_RIFF_ID
)
ptr
+=
sizeof
(
DWORD
);
chunk
->
data
=
ptr
;
...
...
@@ -976,7 +976,7 @@ static void riff_find_chunk( DWORD chunk_id, DWORD chunk_type, const riff_chunk_
}
ptr
+=
sizeof
(
DWORD
);
ptr
+=
*
(
DWORD
*
)
ptr
;
ptr
+=
(
*
(
DWORD
*
)
ptr
+
1
)
&
~
1
;
ptr
+=
sizeof
(
DWORD
);
}
}
...
...
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