forked from enlightenment/rage
dnd: Check for spaces after '%' character
In this case the directory name should not be escaped. I recently bumped into this issue with the '100% Clubland 90s' album. Signed-off-by: Eduardo Lima (Etrunko) <eblima@gmail.com>
This commit is contained in:
parent
b7be3a0ae4
commit
215867863f
|
@ -70,7 +70,7 @@ _escape_parse(const char *str)
|
|||
|
||||
for (d = dest, s = str; *s; d++)
|
||||
{
|
||||
if (s[0] == '%')
|
||||
if (s[0] == '%' && !isspace(s[1]))
|
||||
{
|
||||
if (s[1] && s[2])
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue