X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fceltic.c;h=e9cef13eb4ab77d8f9ef77c4c5b33312b05af796;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=92cba9c87c041eefe2683fa51a1e42bcfd1b0250;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/celtic.c b/hacks/celtic.c index 92cba9c8..e9cef13e 100644 --- a/hacks/celtic.c +++ b/hacks/celtic.c @@ -718,13 +718,11 @@ static int pattern_next_unfilled_couple(Pattern p, Edge *e, Direction *d) static void pattern_make_curves(Pattern p) { - int i; Edge current_edge, first_edge, next_edge; Node current_node, first_node; Direction current_direction, first_direction; Spline s; - i=0; while (pattern_next_unfilled_couple(p, &first_edge, &first_direction)) { /* start a new loop */ s=spline_new(random()%(p->ncolors-2)+2); @@ -835,6 +833,7 @@ static void pattern_animate(struct state *st) static const char *celtic_defaults[] = { ".background: black", ".foreground: #333333", + "*fpsSolid: true", "*ncolors: 20", "*delay: 10000", "*delay2: 5",