Avoid a rare error when calculating CFI

This commit is contained in:
Kovid Goyal 2019-09-09 11:56:37 +05:30
parent b6c3253fb9
commit e8b21b2f29
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -585,6 +585,8 @@ def at_point(ox, oy): # {{{
except Exception:
cfi = None
if not p:
return None
if cfi:
if p.range is not None: