From: Abdelrazak Younes Date: Wed, 7 Feb 2007 17:08:24 +0000 (+0000) Subject: Fix bug 3187 (second round) by Martin V.: X-Git-Tag: 1.6.10~10889 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e8aae76ec5c05ec1c56bc00488c361a477538882;p=features.git Fix bug 3187 (second round) by Martin V.: http://bugzilla.lyx.org/show_bug.cgi?id=3187 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17089 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/insettext.C b/src/insets/insettext.C index d2cc25c2f0..23096b7ae4 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -212,7 +212,7 @@ void InsetText::drawSelection(PainterInfo & pi, int x, int y) const int const h = a + tm.descent() + border_; pi.pain.fillRectangle(x, y - a, (wide() ? tm.maxWidth() : w), h, backgroundColor()); - text_.drawSelection(pi, x, y); + text_.drawSelection(pi, x + border_, y); }