From a38728ff38f1f6d31b983418b82f5367fce651f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 21 Mar 2002 16:13:17 +0000 Subject: [PATCH] enable entering \mathbf#1 directly git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3797 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_cursor.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index 2876e46e5c..1200f2cc3e 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1410,7 +1410,7 @@ bool MathCursor::interpret(char c) int n = c - '0'; MathMacroTemplate * p = formula()->par()->asMacroTemplate(); if (p && 1 <= n && n <= p->numargs()) - insert(MathAtom(new MathMacroArgument(c - '0'))); + insert(MathAtom(new MathMacroArgument(c - '0', lastcode_))); else { insert(MathAtom(new MathSpecialCharInset('#'))); interpret(c); // try again -- 2.39.2