Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
3220b6ce
Commit
3220b6ce
authored
Feb 19, 2009
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WinCE intf: LVITEM needs an index
parent
465ce16e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/gui/wince/playlist.cpp
modules/gui/wince/playlist.cpp
+4
-1
No files found.
modules/gui/wince/playlist.cpp
View file @
3220b6ce
...
...
@@ -631,6 +631,8 @@ void Playlist::Rebuild()
playlist_item_t
*
p_root
=
p_playlist
->
p_local_onelevel
;
playlist_item_t
*
p_child
=
NULL
;
int
iItem
=
0
;
while
(
(
p_child
=
playlist_GetNextLeaf
(
p_playlist
,
p_root
,
p_child
,
FALSE
,
FALSE
)
)
)
{
LVITEM
lv
;
...
...
@@ -638,12 +640,13 @@ void Playlist::Rebuild()
lv
.
pszText
=
_T
(
""
);
lv
.
cchTextMax
=
1
;
lv
.
iSubItem
=
0
;
lv
.
iItem
=
i
;
lv
.
iItem
=
i
Item
;
ListView_InsertItem
(
hListView
,
&
lv
);
ListView_SetItemText
(
hListView
,
lv
.
iItem
,
0
,
_FROMMB
(
p_child
->
p_input
->
psz_name
)
);
UpdateItem
(
p_child
->
i_id
);
iItem
++
;
}
PL_UNLOCK
;
...
...
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