From aebef8f685ac1a421f29068e6c7f1b8112693516 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 3 Oct 2005 12:16:34 +0000 Subject: [PATCH] fix bug 2050 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10514 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/math_kerninset.C | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 5df4fb4dc5..c66570c08b 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2005-10-02 Georg Baum + + * math_kerninset.C (write): write width, not 0 (fixes bug 2050) + 2005-10-03 Jürgen Spitzmüller * math_nestinset.C (doDispatch): use recordUndoInset when deleting whole diff --git a/src/mathed/math_kerninset.C b/src/mathed/math_kerninset.C index b07c8eee1e..00c8bcb99d 100644 --- a/src/mathed/math_kerninset.C +++ b/src/mathed/math_kerninset.C @@ -54,11 +54,7 @@ void MathKernInset::draw(PainterInfo &, int, int) const void MathKernInset::write(WriteStream & os) const { -#ifdef WITH_WARNINGS -#warning this crashs on startup! -#endif - //os << "\\kern" << wid_.asLatexString() << ' '; - os << "\\kern0mm "; + os << "\\kern" << wid_.asLatexString() << ' '; } -- 2.39.2