jer 14/05/28 03:53:09 Added: xscreensaver-5.27-comment-style.patch Log: Version bump. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 x11-misc/xscreensaver/files/xscreensaver-5.27-comment-style.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/files/xscreensaver-5.27-comment-style.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xscreensaver/files/xscreensaver-5.27-comment-style.patch?rev=1.1&content-type=text/plain Index: xscreensaver-5.27-comment-style.patch =================================================================== --- a/hacks/delaunay.c +++ b/hacks/delaunay.c @@ -87,9 +87,9 @@ dy = yp - *yc; drsqr = dx*dx + dy*dy; - // Original - //return((drsqr <= *rsqr) ? TRUE : FALSE); - // Proposed by Chuck Morris + /* Original + return((drsqr <= *rsqr) ? TRUE : FALSE); + Proposed by Chuck Morris */ return((drsqr - *rsqr) <= EPSILON ? TRUE : FALSE); } --- a/hacks/tessellimage.c +++ b/hacks/tessellimage.c @@ -507,15 +507,15 @@ out[i].p = (n > 0 ? (XPoint *) calloc (out[i].npoints + 1, sizeof (*out[i].p)) : 0); -//printf("%d: ", i); +/*printf("%d: ", i);*/ for (j = 0; j < out[i].npoints; j++) { ITRIANGLE *tt = &v[t->tri[j]]; out[i].p[j].x = (p[tt->p1].x + p[tt->p2].x + p[tt->p3].x) / 3; out[i].p[j].y = (p[tt->p1].y + p[tt->p2].y + p[tt->p3].y) / 3; -//printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y); +/*printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);*/ } -//printf("\n"); +/*printf("\n");*/ } free (vert_to_tri);
