Commit 8564f347 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed random debug message crash

parent 1c81c086
...@@ -2112,7 +2112,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -2112,7 +2112,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
[o_msg_lock lock]; [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: 0];
[o_msg_arr removeObjectAtIndex: 1]; [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