Fixed SIGFPE problem in the Gnome applet.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 25 Feb 2008 04:12:22 +0000 (05:12 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 25 Feb 2008 04:12:22 +0000 (05:12 +0100)
clients/gnome-trans-applet/dolcon-trans-applet.c

index 6b4a6e9..9310a22 100644 (file)
@@ -80,7 +80,7 @@ static gboolean updatetip(struct appletdata *data)
        return(TRUE);
     }
     now = time(NULL);
-    if(data->curdisplay->cmptime == 0)
+    if((data->curdisplay->cmptime == 0) || (now == data->curdisplay->cmptime))
     {
        strcpy(buf, _("Calculating remaining time..."));
     } else {