diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-02 17:21:15 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-02 17:23:02 +0400 |
commit | 2292904f85ab6c360c30914e8621e516f8ae1388 (patch) | |
tree | 2e61f7c45a756a2d27713b1215a262f5e3231431 /starmath/source/cursor.cxx | |
parent | remove ooo3_ from Windows icon names (diff) | |
download | core-2292904f85ab6c360c30914e8621e516f8ae1388.tar.gz core-2292904f85ab6c360c30914e8621e516f8ae1388.zip |
visual formula editor: fix insertion of "-"
Diffstat (limited to 'starmath/source/cursor.cxx')
-rw-r--r-- | starmath/source/cursor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 1b66fa13207b..f1eeb0d46fe3 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1040,7 +1040,7 @@ void SmCursor::InsertElement(SmFormulaElement element){ SmToken token; token.eType = TMINUS; token.cMathChar = MS_MINUS; - token.nGroup = MS_PLUS; + token.nGroup = TGUNOPER | TGSUM; token.nLevel = 5; token.aText.AssignAscii("-"); pNewNode = new SmMathSymbolNode(token); |