solve Michael's riddle

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2537 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-17 16:05:19 +00:00
parent 93b1d0de5e
commit e82001fc7e

View File

@ -1279,7 +1279,7 @@ void MathCursor::interpret(string const & s)
if (strchr("0123456789;:!|[]().,?+/-*<>=", c)) { if (strchr("0123456789;:!|[]().,?+/-*<>=", c)) {
if (lastcode_ != LM_TC_TEXTRM) if (lastcode_ != LM_TC_TEXTRM)
lastcode_ = LM_TC_VAR; lastcode_ = LM_TC_CONST;
insert(c, lastcode_); insert(c, lastcode_);
return; return;
} }