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
5d06ca53
Commit
5d06ca53
authored
Oct 06, 2005
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
open.cpp: unicode fix for ProbeDVD, ProbeCDDA, ProbeVCD
parent
ce53e874
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/wxwidgets/open.cpp
modules/gui/wxwidgets/open.cpp
+3
-3
No files found.
modules/gui/wxwidgets/open.cpp
View file @
5d06ca53
...
...
@@ -1334,7 +1334,7 @@ static char * ProbeDVD(const wxChar *device)
{
char
**
ppsz_cd_drives
;
const
wxWX2MBbuf
tmp_buf
=
wxConvCurrent
->
cWX2MB
(
device
);
char
*
psz_device
=
(
char
*
)
tmp_buf
;
char
*
psz_device
=
const_cast
<
char
*>
(
tmp_buf
.
data
())
;
if
(
IsDVD
(
psz_device
)
)
{
...
...
@@ -1404,7 +1404,7 @@ static char * ProbeCDDA(const wxChar *device)
{
char
*
ppsz_device
[
2
];
const
wxWX2MBbuf
tmp_buf
=
wxConvCurrent
->
cWX2MB
(
device
);
char
*
psz_device
=
(
char
*
)
tmp_buf
;
char
*
psz_device
=
const_cast
<
char
*>
(
tmp_buf
.
data
())
;
ppsz_device
[
0
]
=
(
device
&&
*
device
)
?
psz_device
:
NULL
;
ppsz_device
[
1
]
=
NULL
;
return
ProbeDevice
(
ppsz_device
,
CDIO_FS_AUDIO
,
false
);
...
...
@@ -1417,7 +1417,7 @@ static char * ProbeVCD(const wxChar *device)
{
char
*
ppsz_device
[
2
];
const
wxWX2MBbuf
tmp_buf
=
wxConvCurrent
->
cWX2MB
(
device
);
char
*
psz_device
=
(
char
*
)
tmp_buf
;
char
*
psz_device
=
const_cast
<
char
*>
(
tmp_buf
.
data
())
;
ppsz_device
[
0
]
=
(
device
&&
*
device
)
?
psz_device
:
NULL
;
ppsz_device
[
1
]
=
NULL
;
return
ProbeDevice
(
ppsz_device
,
...
...
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