[vlc-devel] commit: compile fix ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 21 15:58:23 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 21 17:01:46 2008 +0300| [02d882db2eb8168e41e727d37525fb01f1d9dd63] | committer: Rémi Denis-Courmont 

compile fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02d882db2eb8168e41e727d37525fb01f1d9dd63
---

 modules/gui/macosx/prefs.m |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index ce9728c..f765765 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -516,17 +516,17 @@ static VLCTreeItem *o_root_item = nil;
     intf_thread_t *p_intf = VLCIntf;
     module_t *p_parser;
 
-    psz_module_name = (char *)[o_module_name UTF8String];
+    const char *psz_module_name = (char *)[o_module_name UTF8String];
 
     /* look for module */
     p_parser = module_find( p_intf, psz_module_name );
     if( !p_parser )
         return( NO );
 
-     module_config_get( p_parser, &confsize );
-     BOOL b_has_prefs = confsize != 0;
-     module_release( p_parser );
-     return( b_has_prefs );
+    module_config_get( p_parser, &confsize );
+    BOOL b_has_prefs = confsize != 0;
+    module_release( p_parser );
+    return( b_has_prefs );
 }
 
 - (NSView *)showView:(NSScrollView *)o_prefs_view




More information about the vlc-devel mailing list