X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fsphere.c;h=e0a81e3a197e8ef1fd0ef9d813bef2406599b054;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hp=728c72406e00699758f2045b48f88bd5d109bc97;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/hacks/sphere.c b/hacks/sphere.c index 728c7240..e0a81e3a 100644 --- a/hacks/sphere.c +++ b/hacks/sphere.c @@ -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)) {