Skip to content

Commit

Permalink
Restored brackets, no functional change
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard de Ruijter committed Aug 6, 2018
1 parent c19970e commit ac67fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/NVDAObjects/IAccessible/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _getPointFromOffsetInObject(cls,obj,offset):
# believes that it belongs to offset+1.
# This means that, when you use l{_getOffsetFromPoint}, the result would be offset+1.
# We yet stay with the center of the character, though.
point=textInfos.Point(res[0]+res[2]/2,res[1]+res[3]/2)
point=textInfos.Point(res[0]+(res[2]/2),res[1]+(res[3]/2))
return point

def _getPointFromOffset(self,offset):
Expand Down

0 comments on commit ac67fe8

Please sign in to comment.