Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
95595966
Commit
95595966
authored
Jan 27, 2004
by
Benjamin Pracht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes a little bug introduced by string review on localized VLC
parent
50ad1400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+9
-9
No files found.
modules/gui/macosx/open.m
View file @
95595966
...
...
@@ -2,7 +2,7 @@
* open.m: MacOS X module for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: open.m,v 1.4
2 2004/01/25 17:01:57 murray
Exp $
* $Id: open.m,v 1.4
3 2004/01/27 22:19:04 bigben
Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
...
...
@@ -464,7 +464,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_videots
=
[
o_disc_videots_folder
stringValue
];
b_menus
=
[
o_disc_dvd_menus
state
];
if
(
[
o_type
isEqualToString
:
@"VCD"
]
)
if
(
[
o_type
isEqualToString
:
_NS
(
"VCD"
)
]
)
{
if
(
[
o_device
isEqualToString
:
[
NSString
stringWithFormat
:
_NS
(
"No %@s found"
),
o_type
]]
)
...
...
@@ -480,7 +480,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mrl_string
=
[
NSString
stringWithFormat
:
@"cdda://%@"
,
o_device
];
}
else
if
(
[
o_type
isEqualToString
:
@"DVD"
]
)
else
if
(
[
o_type
isEqualToString
:
_NS
(
"DVD"
)
]
)
{
if
(
[
o_device
isEqualToString
:
[
NSString
stringWithFormat
:
_NS
(
"No %@s found"
),
o_type
]]
)
...
...
@@ -539,9 +539,9 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP"
]
)
b_udp
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP Multicast"
]
)
b_udpm
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
@"HTTP/FTP/MMS"
]
)
b_http
=
TRUE
;
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)
]
)
b_udp
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP Multicast"
)
]
)
b_udpm
=
TRUE
;
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP/FTP/MMS"
)
]
)
b_http
=
TRUE
;
[
o_net_udp_port
setEnabled
:
b_udp
];
[
o_net_udp_port_stp
setEnabled
:
b_udp
];
...
...
@@ -577,7 +577,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
o_mode
=
[[
o_net_mode
selectedCell
]
title
];
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP"
]
)
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP"
)
]
)
{
int
i_port
=
[
o_net_udp_port
intValue
];
...
...
@@ -589,7 +589,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
[
o_mrl_string
stringByAppendingFormat
:
@"@:%i"
,
i_port
];
}
}
else
if
(
[
o_mode
isEqualToString
:
@"UDP/RTP Multicast"
]
)
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"UDP/RTP Multicast"
)
]
)
{
NSString
*
o_addr
=
[
o_net_udpm_addr
stringValue
];
int
i_port
=
[
o_net_udpm_port
intValue
];
...
...
@@ -602,7 +602,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
[
o_mrl_string
stringByAppendingFormat
:
@":%i"
,
i_port
];
}
}
else
if
(
[
o_mode
isEqualToString
:
@"HTTP/FTP/MMS"
]
)
else
if
(
[
o_mode
isEqualToString
:
_NS
(
"HTTP/FTP/MMS"
)
]
)
{
NSString
*
o_url
=
[
o_net_http_url
stringValue
];
...
...
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