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

Diff for /src/usr.bin/less/cvt.c between version 1.8 and 1.9

version 1.8, 2016/09/17 15:06:41 version 1.9, 2019/02/26 11:01:54
Line 77 
Line 77 
                                 dst--;                                  dst--;
                         } while (dst > odst &&                          } while (dst > odst &&
                             !IS_ASCII_OCTET(*dst) && !IS_UTF8_LEAD(*dst));                              !IS_ASCII_OCTET(*dst) && !IS_UTF8_LEAD(*dst));
                 } else if ((ops & CVT_ANSI) && IS_CSI_START(ch)) {                  } else if ((ops & CVT_ANSI) && ch == ESC) {
                         /* Skip to end of ANSI escape sequence. */                          /* Skip to end of ANSI escape sequence. */
                         src++;  /* skip the CSI start char */                          src++;  /* skip the CSI start char */
                         while (src < src_end)                          while (src < src_end)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9