From 2daac3125f74ab7c367c9ec22aa25d03c9f1b0a0 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 8 Feb 2009 01:14:48 +0000 Subject: [PATCH] * InsetMathNest.cpp: Cosmetics. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28389 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index b4b0c0d343..2ee7c81aba 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -1634,7 +1634,8 @@ bool InsetMathNest::interpretChar(Cursor & cur, char_type const c) // try auto-correction - if (lyxrc.autocorrection_math && cur.autocorrect() && cur.pos() != 0 && math_autocorrect(cur.prevAtom(), c)) + if (lyxrc.autocorrection_math && cur.autocorrect() && cur.pos() != 0 + && math_autocorrect(cur.prevAtom(), c)) return true; // no special circumstances, so insert the character without any fuss -- 2.39.2