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

Diff for /src/usr.bin/tmux/utf8.c between version 1.49 and 1.50

version 1.49, 2020/05/26 12:50:03 version 1.50, 2020/06/02 11:29:00
Line 135 
Line 135 
         union utf8_map   m = { .uc = 0 };          union utf8_map   m = { .uc = 0 };
         u_int            offset;          u_int            offset;
   
           if (ud->width == 0)
                   goto fail;
         if (ud->width != 1 && ud->width != 2)          if (ud->width != 1 && ud->width != 2)
                 fatalx("invalid UTF-8 width");                  fatalx("invalid UTF-8 width");
         if (ud->size == 0)          if (ud->size == 0)

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50