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