Skip to content

Commit

Permalink
fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrg committed Dec 10, 2024
1 parent b7023b2 commit e0b43a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read-fonts/src/tables/variations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ impl Iterator for PackedPointNumbersIter<'_> {
return None;
}
self.seen += 1;
self.last_val += self.current_run.next()?;
self.last_val = self.last_val.checked_add(self.current_run.next()?)?;
Some(self.last_val)
}

Expand Down

0 comments on commit e0b43a7

Please sign in to comment.