]> git.lyx.org Git - features.git/commitdiff
fix bug 2050
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 3 Oct 2005 12:16:34 +0000 (12:16 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 3 Oct 2005 12:16:34 +0000 (12:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10514 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_kerninset.C

index 5df4fb4dc56b47df11ed940d0aa6860df2a2ea42..c66570c08b9097ba735834907c152f62fe261ae9 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * math_kerninset.C (write): write width, not 0 (fixes bug 2050)
+
 2005-10-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
 
        * math_nestinset.C (doDispatch): use recordUndoInset when deleting whole
index b07c8eee1e60ae6a2583d961f0ac9b76ff12fa5a..00c8bcb99d70d81e0b9975f47d72449b50e1367d 100644 (file)
@@ -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() << ' ';
 }