From 825e70d124ffd6ba8aaaf82808760965c7ecfab2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 1 Dec 1999 10:31:47 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ src/mathed/formula.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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!= '_') -- 2.39.5