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
1066194f
Commit
1066194f
authored
Jun 23, 2010
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Add a bunch of imagelist storage tests, make them pass under Wine.
parent
2c20c35d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
imagelist.c
dlls/comctl32/imagelist.c
+4
-4
imagelist.c
dlls/comctl32/tests/imagelist.c
+0
-0
No files found.
dlls/comctl32/imagelist.c
View file @
1066194f
...
...
@@ -260,12 +260,12 @@ IMAGELIST_InternalExpandBitmaps(HIMAGELIST himl, INT nImageCount)
INT
nNewCount
;
SIZE
sz
;
TRACE
(
"%p has
%d allocated %d images
\n
"
,
himl
,
himl
->
cCurImage
,
himl
->
cMaxImage
);
TRACE
(
"%p has
allocated %d, max %d, grow %d images
\n
"
,
himl
,
himl
->
cCurImage
,
himl
->
cMaxImage
,
himl
->
cGrow
);
if
(
himl
->
cCurImage
+
nImageCount
<
=
himl
->
cMaxImage
)
return
;
if
(
himl
->
cCurImage
+
nImageCount
<
himl
->
cMaxImage
)
return
;
nNewCount
=
himl
->
c
Cur
Image
+
max
(
nImageCount
,
himl
->
cGrow
)
+
1
;
nNewCount
=
himl
->
c
Max
Image
+
max
(
nImageCount
,
himl
->
cGrow
)
+
1
;
imagelist_get_bitmap_size
(
himl
,
nNewCount
,
&
sz
);
...
...
dlls/comctl32/tests/imagelist.c
View file @
1066194f
This diff is collapsed.
Click to expand it.
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