From: Lars Gullik Bjønnes Date: Wed, 1 Dec 1999 10:31:47 +0000 (+0000) Subject: whitespace bug fixed. Should hopefully fix the mathed space problem. X-Git-Tag: 1.6.10~22492 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=825e70d124ffd6ba8aaaf82808760965c7ecfab2;p=features.git whitespace bug fixed. Should hopefully fix the mathed space problem. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@346 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index db8555f94d..7438ff827a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-12-01 Lars Gullik Bjønnes + + * src/mathed/formula.C (LocalDispatch): fix small whitspace bug + introduced by faulty regex. + 1999-11-30 Kayvan A. Sylvan * src/ImportNoweb.C (documentclass): fixed bounds for substr diff --git a/src/mathed/formula.C b/src/mathed/formula.C index 9b92c991fc..098a6a48bb 100644 --- a/src/mathed/formula.C +++ b/src/mathed/formula.C @@ -1145,7 +1145,7 @@ bool InsetFormula::LocalDispatch(int action, char const * arg) if (('0'<= c && c<= '9') || strchr(";:!|[]().,?", c)) mathcursor->Insert(c, LM_TC_CONST); else - if (strchr("+/-*<>= ", c)) + if (strchr("+/-*<>=", c)) mathcursor->Insert(c, LM_TC_BOP); else if (strchr(latex_special_chars, c) && c!= '_')