]> git.sesse.net Git - vlc/commitdiff
ncurses: typo
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 23 Jan 2010 13:33:24 +0000 (15:33 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 23 Jan 2010 13:33:24 +0000 (15:33 +0200)
modules/gui/ncurses.c

index dc1fd26be0a48b0afc4323351ba2f76dcebb45be..57732deb81f9bfb0a50e9ca6981cf76c212120e2 100644 (file)
@@ -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 '@':