From 6ff5a488a41ed665a285276dde65e28d751aa4e7 Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Fri, 5 Mar 2010 19:37:03 +0100 Subject: [PATCH] Fix quoted values containing # in VLM shell. (close #3154, thanks to Marnik Vander Elst) --- src/input/vlmshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 27c97e08e9..6025304252 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -134,7 +134,7 @@ static int Unescape( char *out, const char *in ) // Don't escape the end of the string if we find a '#' // that's the begining of a vlc command // TODO: find a better solution - if( c == '#' || param ) + if( ( c == '#' && !quote ) || param ) { param = true; *out++ = c; -- 2.39.2