=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/charset.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/less/charset.c 2016/03/16 15:36:26 1.18 --- src/usr.bin/less/charset.c 2016/09/17 15:06:41 1.19 *************** *** 281,287 **** return (0); } ! for (i = 1; i < len; i++) if (!IS_UTF8_TRAIL(s[i])) return (0); return (1); --- 281,287 ---- return (0); } ! for (i = 1; i < len; i++) if (!IS_UTF8_TRAIL(s[i])) return (0); return (1); *************** *** 867,873 **** { /* The table is small; use linear search. */ int i; ! for (i = 0; i < sizeof (comb_table) / sizeof (*comb_table); i++) { if (ch1 == comb_table[i].first && ch2 == comb_table[i].last) return (1); --- 867,873 ---- { /* The table is small; use linear search. */ int i; ! for (i = 0; i < sizeof (comb_table) / sizeof (*comb_table); i++) { if (ch1 == comb_table[i].first && ch2 == comb_table[i].last) return (1);