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
254e7484
Commit
254e7484
authored
Oct 21, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DPAs can't have more than 0x8000 elements (fixed with lots of help
from Carlos <clozano@andago.com).
parent
c7fbc1b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+4
-1
No files found.
dlls/comctl32/comctl32undoc.c
View file @
254e7484
...
...
@@ -1879,6 +1879,9 @@ DPA_InsertPtr (const HDPA hdpa, INT i, LPVOID p)
if
(
!
hdpa
||
i
<
0
)
return
-
1
;
if
(
i
==
0x7fff
)
i
=
hdpa
->
nItemCount
;
if
(
i
>=
hdpa
->
nItemCount
)
return
DPA_SetPtr
(
hdpa
,
i
,
p
)
?
i
:
-
1
;
...
...
@@ -1911,7 +1914,7 @@ DPA_SetPtr (const HDPA hdpa, INT i, LPVOID p)
TRACE
(
"(%p %d %p)
\n
"
,
hdpa
,
i
,
p
);
if
(
(
!
hdpa
)
||
i
<
0
)
if
(
!
hdpa
||
i
<
0
||
i
>
0x7fff
)
return
FALSE
;
if
(
hdpa
->
nItemCount
<=
i
)
{
...
...
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