I have traced it down to display_insert(), so after all it is locale
related, see attached patch:

diff -urNap gcalctool-5.29.90~/src/display.c gcalctool-5.29.90/src/display.c
--- gcalctool-5.29.90~/src/display.c    2010-02-09 06:14:11.000000000 +0100
+++ gcalctool-5.29.90/src/display.c     2010-02-19 11:46:38.342465011 +0100
@@ -445,7 +445,7 @@ display_insert(GCDisplay *display, int c
                 use = FALSE;
 
             /* Ignore thousands separators */
-            if (strncmp(c, v->tsep, strlen(v->tsep)) == 0)
+            if (*(v->tsep) && strncmp(c, v->tsep, strlen(v->tsep)) == 0)
                 use = FALSE;
 
             /* Copy existing text */

-- 
Backspace deletes all input
https://bugs.launchpad.net/bugs/521038
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gcalctool in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to