gcalctool r2233 - in trunk: . gcalctool



Author: rancell
Date: Thu Sep 25 06:06:49 2008
New Revision: 2233
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2233&view=rev

Log:
Change so can compile in C89 (Jens Granseuer, Bug #553307)

Modified:
   trunk/ChangeLog
   trunk/gcalctool/gtk.c

Modified: trunk/gcalctool/gtk.c
==============================================================================
--- trunk/gcalctool/gtk.c	(original)
+++ trunk/gcalctool/gtk.c	Thu Sep 25 06:06:49 2008
@@ -1623,13 +1623,13 @@
 {
     double number;
     unsigned long long lval;
-    int n, MP1[MP_SIZE], index;
+    int n, MP1[MP_SIZE], index, ret;
 
     index = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(event_box),
                                               "bit_index"));
     n = MAXBITS - index - 1;
 
-    int ret = display_is_usable_number(&v->display, display_get_answer(&v->display));
+    ret = display_is_usable_number(&v->display, display_get_answer(&v->display));
     assert(!ret);
     mp_set_from_mp(display_get_answer(&v->display), MP1);
 



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