X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhalo.c;h=fc69ea730af60d27e8f3709fba42ce335a0ababe;hb=9c9d475ff889ed8be02e8ce8c17da28b93278fca;hp=7cab38d68b531bd635b6723b28cf7d6ea29db3a2;hpb=f54438ea00f152166e68073e98000fd3a00f65cd;p=xscreensaver diff --git a/hacks/halo.c b/hacks/halo.c index 7cab38d6..fc69ea73 100644 --- a/hacks/halo.c +++ b/hacks/halo.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1993, 1995, 1996, 1997, 1998, 1999 +/* xscreensaver, Copyright (c) 1993, 1995, 1996, 1997, 1998, 1999, 2003 * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its @@ -257,7 +257,7 @@ run_circles (Display *dpy, Window window) if (cycle_p && cmode != seuss_mode) { struct timeval now; - static struct timeval then = { 0, }; + static struct timeval then = { 0, 0 }; unsigned long diff; #ifdef GETTIMEOFDAY_TWO_ARGS struct timezone tzp; @@ -396,7 +396,7 @@ run_circles (Display *dpy, Window window) if (cycle_p && cycle_delay) { - int i = 0; + i = 0; while (i < d) { rotate_colors (dpy, cmap, colors, ncolors, direction);