[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.10 and 1.11

version 1.10, 2019/05/15 18:18:08 version 1.11, 2019/05/15 19:06:01
Line 78 
Line 78 
                         /* Delete backspace and preceding char. */                          /* Delete backspace and preceding char. */
                         do {                          do {
                                 dst--;                                  dst--;
                         } while (dst > odst &&                          } while (dst > odst && IS_UTF8_TRAIL(*dst));
                             !IS_ASCII_OCTET(*dst) && !IS_UTF8_LEAD(*dst));  
                 } else if ((ops & CVT_ANSI) && ch == ESC) {                  } 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 */

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11