Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
006625e3
Commit
006625e3
authored
Feb 20, 2008
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix compile/runtime warnings
parent
6cf432c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+6
-6
No files found.
modules/gui/macosx/intf.m
View file @
006625e3
...
...
@@ -1989,15 +1989,15 @@ static VLCMain *_o_sharedMainInstance = nil;
[
o_prefs
showPrefs
];
}
#ifdef UPDATE_CHECK
-
(
IBAction
)
checkForUpdate
:(
id
)
sender
{
#ifdef UPDATE_CHECK
if
(
!
nib_update_loaded
)
nib_update_loaded
=
[
NSBundle
loadNibNamed
:
@"Update"
owner
:
self
];
[
o_update
showUpdateWindow
];
}
#endif
}
-
(
IBAction
)
viewHelp
:(
id
)
sender
{
...
...
modules/gui/macosx/playlist.m
View file @
006625e3
...
...
@@ -924,9 +924,9 @@
NSMutableString
*
o_temp
,
*
o_temp2
;
o_temp
=
[
NSMutableString
stringWithString
:
o_uri
];
o_temp2
=
[
NSMutableString
stringWithUTF8String
:
mounts
[
i_index
].
f_mntfromname
];
[
o_temp
replaceOccurrencesOfString
:
@"/dev/rdisk"
withString
:
@"/dev/disk"
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp2
replaceOccurrencesOfString
:
@"s0"
withString
:
@""
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp2
length
])
];
[
o_temp2
replaceOccurrencesOfString
:
@"s1"
withString
:
@""
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp2
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"/dev/rdisk"
withString
:
@"/dev/disk"
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp2
replaceOccurrencesOfString
:
@"s0"
withString
:
@""
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp2
length
])
];
[
o_temp2
replaceOccurrencesOfString
:
@"s1"
withString
:
@""
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp2
length
])
];
if
(
strstr
(
[
o_temp
fileSystemRepresentation
],
[
o_temp2
fileSystemRepresentation
]
)
!=
NULL
)
{
...
...
@@ -951,9 +951,9 @@
statfs
(
[
o_uri
fileSystemRepresentation
],
buf
);
psz_dev
=
strdup
(
buf
->
f_mntfromname
);
o_temp
=
[
NSMutableString
stringWithUTF8String
:
psz_dev
];
[
o_temp
replaceOccurrencesOfString
:
@"/dev/disk"
withString
:
@"/dev/rdisk"
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"s0"
withString
:
@""
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"s1"
withString
:
@""
options
:
nil
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"/dev/disk"
withString
:
@"/dev/rdisk"
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"s0"
withString
:
@""
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
[
o_temp
replaceOccurrencesOfString
:
@"s1"
withString
:
@""
options
:
NSLiteralSearch
range
:
NSMakeRange
(
0
,
[
o_temp
length
])
];
o_uri
=
o_temp
;
}
...
...
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