]> git.sesse.net Git - vlc/commitdiff
Go to new line if there is no option description
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 12 Apr 2011 19:32:43 +0000 (22:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 12 Apr 2011 19:32:43 +0000 (22:32 +0300)
modules/access/dtv/access.c
src/libvlc.c

index 94df171627a290b2194b0688ab8a360d4016d514..20c7d559288bb271ef86e2ec6db341f7d8290ecd 100644 (file)
@@ -302,7 +302,7 @@ vlc_module_begin ()
                 POLARIZATION_TEXT, POLARIZATION_LONGTEXT, false)
         change_string_list (polarization_vlc, polarization_user, NULL)
         change_safe ()
-    add_integer ("dvb-voltage", 13, " ", " ", true)
+    add_integer ("dvb-voltage", 13, "", "", true)
         change_integer_range (0, 18)
         change_private ()
         change_safe ()
index 525e15d3023228d644e41d59c139997e625b95ff..06ebd6b8a7f4cf19f7688424ad93b771f3eb4d0f 100644 (file)
@@ -1663,6 +1663,7 @@ static void Usage( libvlc_int_t *p_this, char const *psz_search )
             i_cur_width = b_description && !b_description_hack
                           ? i_width_description
                           : i_width;
+            if( !*psz_text ) strcpy(psz_text, " ");
             while( *psz_text )
             {
                 char *psz_parser, *psz_word;