Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gwsw/less
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Jun 25, 2022
2 parents c6ac6de + 99510e6 commit 2643910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filename.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ bin_file(f)
edata = &data[n];
for (p = data; p < edata; )
{
if (utf_mode && !is_utf8_well_formed(p, edata-data))
if (utf_mode && !is_utf8_well_formed(p, edata-p))
{
bin_count++;
utf_skip_to_lead(&p, edata);
Expand Down
3 changes: 2 additions & 1 deletion version.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ v602 3/1/22 Doc changes.
v603 3/14/22 Fix --header.
v604 5/14/22 Fix termlib detection; fix non-ASCII input on Windows.
v605 6/14/22 Update version number.
v606
*/

char version[] = "605";
char version[] = "606x";

0 comments on commit 2643910

Please sign in to comment.