http://ftp.x.org/contrib/applications/xscreensaver-3.10.tar.gz
[xscreensaver] / hacks / sphere.c
index 728c72406e00699758f2045b48f88bd5d109bc97..e0a81e3a197e8ef1fd0ef9d813bef2406599b054 100644 (file)
@@ -29,8 +29,8 @@ static const char sccsid[] = "@(#)sphere.c    4.00 97/01/01 xlockmore";
  * ***************************************************************************
  *
  * Revision History:
- * 30-May-97: jwz@netscape.com: made it go vertically as well as horizontally.
- * 27-May-97: jwz@netscape.com: turned into a standalone program.
+ * 30-May-97: jwz@jwz.org: made it go vertically as well as horizontally.
+ * 27-May-97: jwz@jwz.org: turned into a standalone program.
  * 2-Sep-93: xlock version (David Bagley bagleyd@bigfoot.com)
  * 1988: Revised to use SunView canvas instead of gfxsw Sun Microsystems
  * 1982: Orignal Algorithm  Tom Duff  Lucasfilm Ltd.
@@ -106,7 +106,7 @@ draw_sphere(ModeInfo * mi)
        Display    *display = MI_DISPLAY(mi);
        GC          gc = MI_GC(mi);
        spherestruct *sp = &spheres[MI_SCREEN(mi)];
-       register    minx = 0, maxx = 0, miny = 0, maxy = 0, npts = 0;
+       int         minx = 0, maxx = 0, miny = 0, maxy = 0, npts = 0;
 
        if ((sp->dirx && ABS(sp->x) >= sp->radius) ||
            (sp->diry && ABS(sp->y) >= sp->radius)) {