Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
95595966
Commit
95595966
authored
Jan 27, 2004
by
bigben
Browse files
Fixes a little bug introduced by string review on localized VLC
parent
50ad1400
Changes
1
Hide whitespace changes
Inline
Side-by-side
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/2
5 17:01:57 murray
Exp $
* $Id: open.m,v 1.4
3
2004/01/2
7 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
Supports
Markdown
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