[BACK]Return to cmd-command-prompt.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-command-prompt.c between version 1.6 and 1.7

version 1.6, 2009/07/26 12:58:44 version 1.7, 2009/08/13 23:44:18
Line 112 
Line 112 
         char                            *cause, *ptr, *buf, ch;          char                            *cause, *ptr, *buf, ch;
         size_t                           len, slen;          size_t                           len, slen;
   
         if (s == NULL)          if (s == NULL || *s == '\0')
                 return (0);                  return (0);
         slen = strlen(s);          slen = strlen(s);
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7