summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/source/cursor.cxx2
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);