From ac67fe8ff6361557b5af8629514c7ea0cf55b189 Mon Sep 17 00:00:00 2001 From: Leonard de Ruijter Date: Mon, 6 Aug 2018 17:13:13 +0200 Subject: [PATCH] Restored brackets, no functional change --- source/NVDAObjects/IAccessible/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/NVDAObjects/IAccessible/__init__.py b/source/NVDAObjects/IAccessible/__init__.py index 28bf7799ce4..b8ca2f21511 100644 --- a/source/NVDAObjects/IAccessible/__init__.py +++ b/source/NVDAObjects/IAccessible/__init__.py @@ -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):