Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Jan 31, 2025
1 parent 434408e commit 70a5c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/Text/RNSVGGlyphContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ - (CGFloat)nextXWithDouble:(CGFloat)advance
{
[RNSVGGlyphContext incrementIndices:mXIndices_ topIndex:mXsIndex_];
long nextIndex = mXIndex_ + 1;
if (nextIndex < [(long)mXs_ count]) {
if (nextIndex < (long)[mXs_ count]) {
mDX_ = 0;
mXIndex_ = nextIndex;
RNSVGLength *length = [mXs_ objectAtIndex:nextIndex];
Expand Down

0 comments on commit 70a5c9a

Please sign in to comment.