From d51de189965dfebf88ab1cb728e55c7cd054df78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 12 Aug 2004 20:23:10 +0000 Subject: [PATCH] Fix #1249 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8886 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 5 +++++ src/mathed/math_nestinset.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 0b5e79dce6..d2051c28c5 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ + +2004-08-12 André Pönitz + + * math_nestinset.C: Fix #1249 + 2004-07-24 Lars Gullik Bjonnes * math_support.C, math_parser.C, math_nestinset.C, math_macrotable.C: diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index 5133148207..4a5a918353 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -1009,7 +1009,7 @@ bool MathNestInset::interpret(LCursor & cur, char c) cur.niceInsert(MathAtom(new MathBraceInset)); } else if (c == '%') { cur.backspace(); - cur.niceInsert(MathAtom(new MathSymbolInset("%"))); + cur.niceInsert(MathAtom(new MathCommentInset)); } else if (c == '#') { lyxerr << "setting name to " << name + c << endl; BOOST_ASSERT(cur.activeMacro()); -- 2.39.2