[vlc-commits] help: fix help string if colors are disabled

Rémi Duraffort git at videolan.org
Sun Jan 19 17:41:33 CET 2014


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jan 19 17:39:59 2014 +0100| [2b2889024fd5a4dcb6fafbe12e5b0bf1b7dd1ddd] | committer: Rémi Duraffort

help: fix help string if colors are disabled

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b2889024fd5a4dcb6fafbe12e5b0bf1b7dd1ddd
---

 src/config/help.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/help.c b/src/config/help.c
index fd69763..30a93b5 100644
--- a/src/config/help.c
+++ b/src/config/help.c
@@ -566,7 +566,7 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
         }
 
         /* Print name of module */
-        printf(color ? "\n " GREEN "%s" GRAY " (%s)\n" : "\n %s\n",
+        printf(color ? "\n " GREEN "%s" GRAY " (%s)\n" : "\n %s (%s)\n",
                module_gettext(m, m->psz_longname), objname);
         if (m->psz_help != NULL)
             printf(color ? CYAN" %s\n"GRAY : " %s\n",



More information about the vlc-commits mailing list