vlc/vlc-2.0 | branch: master | Felix Paul Kühne <[email protected]> | Wed 
Aug 22 16:16:05 2012 +0200| [747ca86299160d2224b515d3f2b6d48944587ef9] | 
committer: Felix Paul Kühne

macosx: fixed random debug message crash
(cherry picked from commit 8564f347c93455da29ebd65cbc5d2540b259e90a)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=747ca86299160d2224b515d3f2b6d48944587ef9
---

 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 b2dd0fa..3bf85d0 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to