[vlc-commits] macosx: fixed random debug message crash
Felix Paul Kühne
git at videolan.org
Wed Aug 22 16:17:10 CEST 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Aug 22 16:16:05 2012 +0200| [8564f347c93455da29ebd65cbc5d2540b259e90a] | committer: Felix Paul Kühne
macosx: fixed random debug message crash
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8564f347c93455da29ebd65cbc5d2540b259e90a
---
modules/gui/macosx/intf.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 82f25e6..a54140d 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -2112,7 +2112,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];
More information about the vlc-commits
mailing list