projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.10.tar.gz
[xscreensaver]
/
hacks
/
sphere.c
diff --git
a/hacks/sphere.c
b/hacks/sphere.c
index cffe98424e79bf480eb8e31183719745932874c3..e0a81e3a197e8ef1fd0ef9d813bef2406599b054 100644
(file)
--- a/
hacks/sphere.c
+++ b/
hacks/sphere.c
@@
-106,7
+106,7
@@
draw_sphere(ModeInfo * mi)
Display *display = MI_DISPLAY(mi);
GC gc = MI_GC(mi);
spherestruct *sp = &spheres[MI_SCREEN(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)) {
if ((sp->dirx && ABS(sp->x) >= sp->radius) ||
(sp->diry && ABS(sp->y) >= sp->radius)) {