From: Michael Schmitt Date: Mon, 26 Mar 2007 19:16:49 +0000 (+0000) Subject: * src/insets/insetcharstyle.C: fix bug #3252 (by M. Vermeer): X-Git-Tag: 1.6.10~10478 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e667f92c11f8f71ac57a2578d8c308b6c7360e7b;p=features.git * src/insets/insetcharstyle.C: fix bug #3252 (by M. Vermeer): Cursor is not placed correctly in char style inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17578 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/insetcharstyle.C b/src/insets/insetcharstyle.C index 34f0baf64a..ed3566716b 100644 --- a/src/insets/insetcharstyle.C +++ b/src/insets/insetcharstyle.C @@ -184,7 +184,7 @@ void InsetCharStyle::draw(PainterInfo & pi, int x, int y) const getDrawFont(pi.base.font); // I don't understand why the above .reduce and .realize aren't //needed, or even wanted, here. It just works. -- MV 10.04.2005 - InsetText::draw(pi, x, y); + InsetText::draw(pi, x + TEXT_TO_INSET_OFFSET, y); pi.base.font = tmpfont; int desc = InsetText::descent();