On Mon, Mar 26, 2007 at 05:55:13PM +0200, Abdelrazak Younes wrote:
> Dear all,
>
> I think we are very close to a 1.5.0 release, here is the list of "more
> than major" bugs for 1.5.0svn (12 bugs):
>
> http://tinyurl.com/2olf5y
> 3252 Cursor is not placed correctly in char style inset
>
> Don't know.
Fixed by attached. Trivial oversight by yours truly ;-/
- Martin
Index: insetcharstyle.C
===================================================================
--- insetcharstyle.C (revision 17531)
+++ insetcharstyle.C (working copy)
@@ -184,7 +184,7 @@
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();