Skip to content

Commit

Permalink
Pointer check #trivial (TextureGroup#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdwsd0829 authored and nguyenhuy committed Jun 19, 2018
1 parent dbe469a commit f4f1454
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/ASTextNode2.mm
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,9 @@ - (id)_linkAttributeValueAtPoint:(CGPoint)point
// For now, assume that a tap inside this text, but outside the text range is a tap on the
// truncation token.
if (![layout textRangeAtPoint:point]) {
*inAdditionalTruncationMessageOut = YES;
if (inAdditionalTruncationMessageOut != NULL) {
*inAdditionalTruncationMessageOut = YES;
}
return nil;
}

Expand Down

0 comments on commit f4f1454

Please sign in to comment.