X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fboing.c;h=1c95d1ead8c269a244ca622049cabbe28ec0134a;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=cb09a049d17e99f32e2b230b2aa6e90958e63ec8;hpb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;p=xscreensaver diff --git a/hacks/glx/boing.c b/hacks/glx/boing.c index cb09a049..1c95d1ea 100644 --- a/hacks/glx/boing.c +++ b/hacks/glx/boing.c @@ -42,7 +42,7 @@ #define DEF_SMOOTH "False" #define DEF_SCANLINES "True" #define DEF_SPEED "1.0" -#define DEF_SIZE "0.5" +#define DEF_BALL_SIZE "0.5" #define DEF_ANGLE "15" #define DEF_MERIDIANS "16" #define DEF_PARALLELS "8" @@ -118,7 +118,7 @@ static argtype vars[] = { {&scanlines_p,"scanlines","Scanlines", DEF_SCANLINES, t_Bool}, {&speed, "speed", "Speed", DEF_SPEED, t_Float}, {&angle, "angle", "Angle", DEF_ANGLE, t_Int}, - {&ball_size, "ballSize", "BallSize", DEF_SIZE, t_Float}, + {&ball_size, "ballSize", "BallSize", DEF_BALL_SIZE, t_Float}, {&meridians, "meridians", "meridians", DEF_MERIDIANS, t_Int}, {¶llels, "parallels", "parallels", DEF_PARALLELS, t_Int}, {&tiles, "tiles", "Tiles", DEF_TILES, t_Int}, @@ -527,8 +527,6 @@ init_boing (ModeInfo *mi) fprintf(stderr, "%s: out of memory\n", progname); exit(1); } - - bp = &bps[MI_SCREEN(mi)]; } bp = &bps[MI_SCREEN(mi)];