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
Steve Lhomme
VLC
Commits
c96fa88a
Commit
c96fa88a
authored
Nov 11, 2012
by
Felix Paul Kühne
Browse files
macosx: added sanity check to prevent a Cocoa runtime exception
parent
82858095
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/macosx/Windows.m
View file @
c96fa88a
...
@@ -270,6 +270,9 @@
...
@@ -270,6 +270,9 @@
-
(
void
)
setTitle
:(
NSString
*
)
title
-
(
void
)
setTitle
:(
NSString
*
)
title
{
{
if
(
!
title
||
[
title
length
]
<
1
)
return
;
if
(
b_dark_interface
&&
o_titlebar_view
)
if
(
b_dark_interface
&&
o_titlebar_view
)
[
o_titlebar_view
setWindowTitle
:
title
];
[
o_titlebar_view
setWindowTitle
:
title
];
...
...
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