npapi-vlc | branch: master | Cheng Sun <[email protected]> | Wed Dec 28 
12:11:49 2011 +0000| [26c29cce29b21d5b120756aa5e467eaed0c79ee0] | committer: 
Jean-Baptiste Kempf

Fix inconsistent coding style in EventObj::insert

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=26c29cce29b21d5b120756aa5e467eaed0c79ee0
---

 npapi/vlcplugin_base.cpp |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index 378638e..b96e756 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -280,16 +280,17 @@ bool EventObj::insert(const NPString &name, NPObject 
*listener, bool bubble)
     if( !event )
         return false;
 
-    for(lr_l::iterator iter = _llist.begin(); iter != _llist.end(); ++iter ){
-        if(iter->listener() == listener &&
-           event->libvlc_type == iter->event_type() &&
-           iter->bubble() == bubble)
+    for( lr_l::iterator iter = _llist.begin(); iter != _llist.end(); ++iter )
+    {
+        if( iter->listener() == listener &&
+            event->libvlc_type == iter->event_type() &&
+            iter->bubble() == bubble )
         {
             return false;
         }
     }
 
-    _llist.push_back(Listener(event, listener, bubble));
+    _llist.push_back( Listener(event, listener, bubble) );
     return true;
 }
 

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

Reply via email to