Commit 747ca862 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed random debug message crash

(cherry picked from commit 8564f347)
parent 0e79f6ff
......@@ -2084,7 +2084,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
[o_msg_lock lock];
if( [o_msg_arr count] + 2 > 600 )
if( [o_msg_arr count] > 600 )
{
[o_msg_arr removeObjectAtIndex: 0];
[o_msg_arr removeObjectAtIndex: 1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment