From aeb3e92f21bc3243c4cf08a37260fdd5c36b17de Mon Sep 17 00:00:00 2001
From: mae <qt-info@nokia.com>
Date: Wed, 2 Dec 2009 14:32:29 +0100
Subject: [PATCH] off by one

done with thorbjorn
---
 src/plugins/texteditor/texteditoroverlay.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/texteditoroverlay.cpp b/src/plugins/texteditor/texteditoroverlay.cpp
index de8c0b88013..4d5b1f33f3f 100644
--- a/src/plugins/texteditor/texteditoroverlay.cpp
+++ b/src/plugins/texteditor/texteditoroverlay.cpp
@@ -230,7 +230,7 @@ QPainterPath TextEditorOverlay::createSelectionPath(const QTextCursor &begin, co
                        selection.at(i+1).right()) + margin;
 
         points += QPointF(x+1, selection.at(i).top());
-        points += QPointF(x+1, selection.at(i).bottom()+1);
+        points += QPointF(x+1, selection.at(i).bottom());
 
     }
 
-- 
GitLab