summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/edit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4b1056c55fc7..d0e4eb1a3018 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -545,7 +545,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
if (pCursor)
pCursor->Hide();
- ImplClearBackground(rRenderContext, rRectangle, 0, GetOutputSizePixel().Width());
+ ImplClearBackground(rRenderContext, rRectangle, 0, GetOutputSizePixel().Width()-1);
bool bPaintPlaceholderText = aText.isEmpty() && !maPlaceholderText.isEmpty();