xscreensaver-5.28-comment-style.patch 698 B

12345678910111213141516171819202122
  1. --- a/hacks/tessellimage.c
  2. +++ b/hacks/tessellimage.c
  3. @@ -507,15 +507,15 @@
  4. out[i].p = (n > 0
  5. ? (XPoint *) calloc (out[i].npoints + 1, sizeof (*out[i].p))
  6. : 0);
  7. -//printf("%d: ", i);
  8. +/*printf("%d: ", i);*/
  9. for (j = 0; j < out[i].npoints; j++)
  10. {
  11. ITRIANGLE *tt = &v[t->tri[j]];
  12. out[i].p[j].x = (p[tt->p1].x + p[tt->p2].x + p[tt->p3].x) / 3;
  13. out[i].p[j].y = (p[tt->p1].y + p[tt->p2].y + p[tt->p3].y) / 3;
  14. -//printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);
  15. +/*printf(" [%d: %d %d]", j, out[i].p[j].x, out[i].p[j].y);*/
  16. }
  17. -//printf("\n");
  18. +/*printf("\n");*/
  19. }
  20. free (vert_to_tri);