]> git.sesse.net Git - vlc/commitdiff
Fix mistake in 92290c9d that allowed modules with no basic options (i.e. != advanced...
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 1 Sep 2008 22:51:10 +0000 (00:51 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 1 Sep 2008 23:11:08 +0000 (01:11 +0200)
src/libvlc.c

index 7c8f0cd457771f0f59f36866c462211ef9f3d187..09f00b4afcc51cf14f25cba7c977a37bae65fd80 100644 (file)
@@ -1469,6 +1469,9 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
                 if( (p_item->i_type & CONFIG_ITEM) &&
                     !p_item->b_advanced ) break;
             }
+
+            if( p_item == p_end )
+                continue;
         }
 
         /* Print name of module */