Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
facac0f9
Commit
facac0f9
authored
Oct 02, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix
parent
9f716478
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/gui/wxwidgets/open.cpp
modules/gui/wxwidgets/open.cpp
+5
-5
No files found.
modules/gui/wxwidgets/open.cpp
View file @
facac0f9
...
@@ -1147,15 +1147,15 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
...
@@ -1147,15 +1147,15 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
playlist_item_t
*
p_item
;
playlist_item_t
*
p_item
;
char
*
psz_utf8
;
char
*
psz_utf8
;
psz_utf8
=
FromUTF32
(
mrl
[
i
].
wc_str
()
);
psz_utf8
=
FromUTF32
(
(
wchar_t
*
)
mrl
[
i
].
wc_str
()
);
p_item
=
playlist_ItemNew
(
p_intf
,
psz_utf8
,
psz_utf8
);
p_item
=
playlist_ItemNew
(
p_intf
,
psz_utf8
,
psz_utf8
);
free
(
psz_utf8
);
free
(
psz_utf8
);
/* Insert options */
/* Insert options */
while
(
i
+
1
<
(
int
)
mrl
.
GetCount
()
&&
while
(
i
+
1
<
(
int
)
mrl
.
GetCount
()
&&
((
const
char
*
)
mrl
[
i
+
1
].
wc_str
())[
0
]
==
':'
L
)
((
const
char
*
)
mrl
[
i
+
1
].
wc_str
())[
0
]
==
':'
)
{
{
psz_utf8
=
FromUTF32
(
mrl
[
i
+
1
].
wc_str
()
);
psz_utf8
=
FromUTF32
(
(
wchar_t
*
)
mrl
[
i
+
1
].
wc_str
()
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
free
(
psz_utf8
);
free
(
psz_utf8
);
i
++
;
i
++
;
...
@@ -1166,7 +1166,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
...
@@ -1166,7 +1166,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
{
{
for
(
int
j
=
0
;
j
<
(
int
)
subsfile_mrl
.
GetCount
();
j
++
)
for
(
int
j
=
0
;
j
<
(
int
)
subsfile_mrl
.
GetCount
();
j
++
)
{
{
psz_utf8
=
FromUTF32
(
subsfile_mrl
[
j
].
wc_str
()
);
psz_utf8
=
FromUTF32
(
(
wchar_t
*
)
subsfile_mrl
[
j
].
wc_str
()
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
free
(
psz_utf8
);
free
(
psz_utf8
);
}
}
...
@@ -1177,7 +1177,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
...
@@ -1177,7 +1177,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
{
{
for
(
int
j
=
0
;
j
<
(
int
)
sout_mrl
.
GetCount
();
j
++
)
for
(
int
j
=
0
;
j
<
(
int
)
sout_mrl
.
GetCount
();
j
++
)
{
{
psz_utf8
=
FromUTF32
(
sout_mrl
[
j
].
wc_str
()
);
psz_utf8
=
FromUTF32
(
(
wchar_t
*
)
sout_mrl
[
j
].
wc_str
()
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
playlist_ItemAddOption
(
p_item
,
psz_utf8
);
free
(
psz_utf8
);
free
(
psz_utf8
);
}
}
...
...
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