Browse Source

enable the use of either single or double quotes

for file path names (was mixed up, becaus isquote()
aknowledges both types).
pre-master-46
Vogt 5 years ago
committed by Holger Vogt
parent
commit
bb8cdb2e2d
  1. 5
      src/frontend/inpcom.c

5
src/frontend/inpcom.c

@ -6107,10 +6107,11 @@ static char *get_quoted_token(char *string, char **token)
return string; return string;
if (isquote(*s)) { if (isquote(*s)) {
/* we may find single ' or double " quotes */
char thisquote = *s;
char *t = ++s; char *t = ++s;
while (*t && !isquote(*t))
while (*t && !(*t == thisquote))
t++; t++;
if (!*t) { /* teriminator quote not found */ if (!*t) { /* teriminator quote not found */

Loading…
Cancel
Save