Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4c718f0e
Commit
4c718f0e
authored
Dec 19, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed obscure crash when starting playback while the messages panel is open (fixes #5541)
parent
f9c26629
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-4
No files found.
modules/gui/macosx/intf.m
View file @
4c718f0e
...
@@ -1852,10 +1852,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1852,10 +1852,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
o_enum
=
[
o_msg_arr
objectEnumerator
];
o_enum
=
[
o_msg_arr
objectEnumerator
];
while
(
(
o_msg
=
[
o_enum
nextObject
]
)
!=
nil
)
while
(
(
o_msg
=
[
o_enum
nextObject
]
)
!=
NULL
)
{
[
o_messages
insertText
:
o_msg
];
[
o_messages
insertText
:
o_msg
];
}
b_msg_arr_changed
=
NO
;
b_msg_arr_changed
=
NO
;
[
o_msg_lock
unlock
];
[
o_msg_lock
unlock
];
...
@@ -1883,7 +1881,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
...
@@ -1883,7 +1881,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
[
o_msg_arr
removeObjectAtIndex
:
1
];
[
o_msg_arr
removeObjectAtIndex
:
1
];
}
}
o_attr
=
[
NSDictionary
dictionaryWithObject
:
o_gray
forKey
:
NSForegroundColorAttributeName
];
o_attr
=
[
NSDictionary
dictionaryWithObject
:
pp_color
[
3
]
forKey
:
NSForegroundColorAttributeName
];
o_msg_color
=
[[
NSAttributedString
alloc
]
initWithString
:
[
NSString
stringWithFormat
:
@"%s%s"
,
item
->
psz_module
,
ppsz_type
[
i_type
]]
attributes
:
o_attr
];
o_msg_color
=
[[
NSAttributedString
alloc
]
initWithString
:
[
NSString
stringWithFormat
:
@"%s%s"
,
item
->
psz_module
,
ppsz_type
[
i_type
]]
attributes
:
o_attr
];
[
o_msg_arr
addObject
:
[
o_msg_color
autorelease
]];
[
o_msg_arr
addObject
:
[
o_msg_color
autorelease
]];
...
...
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