[gcalctool] Update bit editor after shifting (Robert Ancell, Bug #587545)



commit 9c5cbe627c59ec42632b0f65130cfd4b549d2273
Author: Robert Ancell <robert ancell gmail com>
Date:   Mon Jul 13 13:09:08 2009 +1000

    Update bit editor after shifting (Robert Ancell, Bug #587545)

 ChangeLog       |    4 ++++
 src/functions.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ea17fb1..28a793b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
 gcalctool change history.
 =========================
 
+2009-07-13 Robert Ancell <robert ancell gmail com>
+
+    * Update bit editor after shifting (Robert Ancell, Bug #587545)
+
 2009-07-12 Robert Ancell <robert ancell gmail com>
 
     * Use a base-10 internal representation (Robert Ancell, bug #585813, bug #585931, bug #560802)
diff --git a/src/functions.c b/src/functions.c
index bc3bd67..7504ff9 100644
--- a/src/functions.c
+++ b/src/functions.c
@@ -420,7 +420,7 @@ do_expression(int function, int arg, int cursor_start, int cursor_end)
 
         case FN_SHIFT:
             do_shift(arg);
-            return;
+            break;
 
         case FN_SET_ACCURACY:
             do_accuracy(arg);



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