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

Diff for /src/usr.bin/tmux/input.c between version 1.100 and 1.101

version 1.100, 2016/01/29 11:13:56 version 1.101, 2016/03/02 15:36:02
Line 1960 
Line 1960 
 {  {
         struct utf8_data        *ud = &ictx->utf8data;          struct utf8_data        *ud = &ictx->utf8data;
   
         if (utf8_append(ud, ictx->ch) != UTF8_DONE)          if (utf8_append(ud, ictx->ch) != UTF8_DONE) {
                 fatalx("UTF-8 close invalid %#x", ictx->ch);                  /*
                    * An error here could be invalid UTF-8 or it could be a
                    * nonprintable character for which we can't get the
                    * width. Drop it.
                    */
                   return (0);
           }
   
         log_debug("%s %hhu '%*s' (width %hhu)", __func__, ud->size,          log_debug("%s %hhu '%*s' (width %hhu)", __func__, ud->size,
             (int)ud->size, ud->data, ud->width);              (int)ud->size, ud->data, ud->width);

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101