]> git.lyx.org Git - lyx.git/commitdiff
solve Michael's riddle
authorAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 16:05:19 +0000 (16:05 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 16:05:19 +0000 (16:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2537 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_cursor.C

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