Commit d27f1a41 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix mistake in 92290c9d that allowed modules with no basic options (i.e. !=...

Fix mistake in 92290c9d that allowed modules with no basic options (i.e. != advanced) to be shown in vlc -p <something> output with --no-advanced.
(cherry picked from commit c4963958)
parent 330b4345
...@@ -1471,6 +1471,9 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name ) ...@@ -1471,6 +1471,9 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
if( (p_item->i_type & CONFIG_ITEM) && if( (p_item->i_type & CONFIG_ITEM) &&
!p_item->b_advanced ) break; !p_item->b_advanced ) break;
} }
if( p_item == p_end )
continue;
} }
/* Print name of module */ /* Print name of module */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment