[vlc-devel] commit: ncurses: typo ( Rémi Denis-Courmont )
    git version control 
    git at videolan.org
       
    Sat Jan 23 14:40:24 CET 2010
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 23 15:33:24 2010 +0200| [f9f69cb5290cb551d0eebb400b8af0a7eab3fa12] | committer: Rémi Denis-Courmont 
ncurses: typo
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9f69cb5290cb551d0eebb400b8af0a7eab3fa12
---
 modules/gui/ncurses.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index dc1fd26..57732de 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -2397,9 +2397,9 @@ static void Eject( intf_thread_t *p_intf )
 
     if( psz_name )
     {
-        if( !strncmp(psz_name, "dvd://", 4) )
+        if( !strncmp(psz_name, "dvd://", 6) )
         {
-            switch( psz_name[strlen("dvd://")] )
+            switch( psz_name[6] )
             {
             case '\0':
             case '@':
    
    
More information about the vlc-devel
mailing list