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
7d716db7
Commit
7d716db7
authored
Oct 27, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct type instead of void* in item linked list.
parent
8818ded2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
comboex.c
dlls/comctl32/comboex.c
+7
-7
No files found.
dlls/comctl32/comboex.c
View file @
7d716db7
...
...
@@ -45,9 +45,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
comboex
);
/* Item structure */
typedef
struct
typedef
struct
_CBE_ITEMDATA
{
void
*
next
;
struct
_CBE_ITEMDATA
*
next
;
UINT
mask
;
LPWSTR
pszText
;
LPWSTR
pszTemp
;
...
...
@@ -456,7 +456,7 @@ static CBE_ITEMDATA * COMBOEX_FindItem(COMBOEX_INFO *infoPtr, INT index)
/* find the item in the list */
while
(
item
&&
(
i
>
index
))
{
item
=
(
CBE_ITEMDATA
*
)
item
->
next
;
item
=
item
->
next
;
i
--
;
}
if
(
!
item
||
(
i
!=
index
))
{
...
...
@@ -577,7 +577,7 @@ static INT COMBOEX_InsertItemW (COMBOEX_INFO *infoPtr, COMBOBOXEXITEMW *cit)
CBE_ITEMDATA
*
moving
=
infoPtr
->
items
;
while
((
i
>
index
)
&&
moving
)
{
moving
=
(
CBE_ITEMDATA
*
)
moving
->
next
;
moving
=
moving
->
next
;
i
--
;
}
if
(
!
moving
)
{
...
...
@@ -1250,7 +1250,7 @@ static BOOL COMBOEX_WM_DeleteItem (COMBOEX_INFO *infoPtr, DELETEITEMSTRUCT *dis)
/* find the prior item in the list */
while
(
item
->
next
&&
(
i
>
dis
->
itemID
))
{
item
=
(
CBE_ITEMDATA
*
)
item
->
next
;
item
=
item
->
next
;
i
--
;
}
if
(
!
item
->
next
||
(
i
!=
dis
->
itemID
))
{
...
...
@@ -1258,7 +1258,7 @@ static BOOL COMBOEX_WM_DeleteItem (COMBOEX_INFO *infoPtr, DELETEITEMSTRUCT *dis)
return
FALSE
;
}
olditem
=
item
->
next
;
item
->
next
=
(
CBE_ITEMDATA
*
)((
CBE_ITEMDATA
*
)
item
->
next
)
->
next
;
item
->
next
=
item
->
next
->
next
;
}
infoPtr
->
nb_items
--
;
...
...
@@ -1527,7 +1527,7 @@ static LRESULT COMBOEX_Destroy (COMBOEX_INFO *infoPtr)
item
=
infoPtr
->
items
;
while
(
item
)
{
next
=
(
CBE_ITEMDATA
*
)
item
->
next
;
next
=
item
->
next
;
COMBOEX_FreeText
(
item
);
Free
(
item
);
item
=
next
;
...
...
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