[gcalctool/gnome-2-32] Stop '*'+backspace+'*' being converted into '^'



commit c408bd6fb6d47aebc6d4e519f6495fe375329a40
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Oct 14 16:37:32 2010 +1100

    Stop '*'+backspace+'*' being converted into '^'

 NEWS                |    1 +
 src/math-equation.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index cc7da44..da1886d 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Overview of changes in gcalctool 5.32.1
 
     * Fix crash when pasting with empty clipboard (Bug #629381)
     * Fix broken thousands separators code (Bug #628908)
+    * Stop '*'+backspace+'*' being converted into '^'
 
 Overview of changes in gcalctool 5.32.0
 
diff --git a/src/math-equation.c b/src/math-equation.c
index 9e44e3b..45cea52 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -1760,6 +1760,8 @@ delete_range_cb (MathEquation  *equation,
 {
     if (equation->priv->in_reformat)
         return;
+
+    equation->priv->state.entered_multiply = FALSE;
   
     /* Update thousands separators */
     reformat_separators(equation);  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]