[BACK]Return to arguments.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/arguments.c between version 1.25 and 1.26

version 1.25, 2019/05/29 20:05:14 version 1.26, 2019/06/20 07:10:56
Line 213 
Line 213 
   
         if (*s == '\0')          if (*s == '\0')
                 return (xstrdup(s));                  return (xstrdup(s));
         if ((strchr(quoted, s[0]) != NULL || s[0] == '~') && s[1] == '\0') {          if (s[0] != ' ' &&
               (strchr(quoted, s[0]) != NULL || s[0] == '~') &&
               s[1] == '\0') {
                 xasprintf(&escaped, "\\%c", s[0]);                  xasprintf(&escaped, "\\%c", s[0]);
                 return (escaped);                  return (escaped);
         }          }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26