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

Diff for /src/usr.bin/tmux/key-string.c between version 1.34 and 1.35

version 1.34, 2016/01/19 15:59:12 version 1.35, 2016/03/02 15:36:02
Line 149 
Line 149 
         struct utf8_data         ud;          struct utf8_data         ud;
         u_int                    i;          u_int                    i;
         enum utf8_state          more;          enum utf8_state          more;
           wchar_t                  wc;
   
         /* Is this no key? */          /* Is this no key? */
         if (strcasecmp(string, "None") == 0)          if (strcasecmp(string, "None") == 0)
Line 185 
Line 186 
                                 more = utf8_append(&ud, (u_char)string[i]);                                  more = utf8_append(&ud, (u_char)string[i]);
                         if (more != UTF8_DONE)                          if (more != UTF8_DONE)
                                 return (KEYC_UNKNOWN);                                  return (KEYC_UNKNOWN);
                         key = utf8_combine(&ud);                          if (utf8_combine(&ud, &wc) != UTF8_DONE)
                         return (key | modifiers);                                  return (KEYC_UNKNOWN);
                           return (wc | modifiers);
                 }                  }
   
                 /* Otherwise look the key up in the table. */                  /* Otherwise look the key up in the table. */

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35