=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/cmdbuf.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- src/usr.bin/less/cmdbuf.c 2019/06/28 13:35:01 1.19 +++ src/usr.bin/less/cmdbuf.c 2019/09/02 14:07:45 1.20 @@ -179,19 +179,10 @@ if (bswidth != NULL) *bswidth = prlen; } else { - LWCHAR prev_ch = step_char(&p, -1, cmdbuf); - if (is_combining_char(prev_ch, ch)) { - if (pwidth != NULL) - *pwidth = 0; - if (bswidth != NULL) - *bswidth = 0; - } else { - if (pwidth != NULL) - *pwidth = is_wide_char(ch) - ? 2 : 1; - if (bswidth != NULL) - *bswidth = 1; - } + if (pwidth != NULL) + *pwidth = is_wide_char(ch) ? 2 : 1; + if (bswidth != NULL) + *bswidth = 1; } } }