Commit 6ff5a488 authored by Antoine Cellerier's avatar Antoine Cellerier

Fix quoted values containing # in VLM shell.

(close #3154, thanks to Marnik Vander Elst)
parent d6547572
...@@ -134,7 +134,7 @@ static int Unescape( char *out, const char *in ) ...@@ -134,7 +134,7 @@ static int Unescape( char *out, const char *in )
// Don't escape the end of the string if we find a '#' // Don't escape the end of the string if we find a '#'
// that's the begining of a vlc command // that's the begining of a vlc command
// TODO: find a better solution // TODO: find a better solution
if( c == '#' || param ) if( ( c == '#' && !quote ) || param )
{ {
param = true; param = true;
*out++ = c; *out++ = c;
......
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