X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdrift.c;h=6059142542671932efd9c92143a42501bb44680e;hp=38cdf7b70d8a70b809c946237a2153c852fd02aa;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=96a411663168b0ba5432b407a83be55f3df0c802 diff --git a/hacks/drift.c b/hacks/drift.c index 38cdf7b7..60591425 100644 --- a/hacks/drift.c +++ b/hacks/drift.c @@ -61,20 +61,20 @@ static Bool liss; static XrmOptionDescRec opts[] = { - {(char *) "-grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+grow", (char *) ".drift.grow", XrmoptionNoArg, (caddr_t) "off"}, - {(char *) "-liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+liss", (char *) ".drift.trail", XrmoptionNoArg, (caddr_t) "off"} + {"-grow", ".drift.grow", XrmoptionNoArg, "on"}, + {"+grow", ".drift.grow", XrmoptionNoArg, "off"}, + {"-liss", ".drift.trail", XrmoptionNoArg, "on"}, + {"+liss", ".drift.trail", XrmoptionNoArg, "off"} }; static argtype vars[] = { - {(caddr_t *) & grow, (char *) "grow", (char *) "Grow", (char *) DEF_GROW, t_Bool}, - {(caddr_t *) & liss, (char *) "liss", (char *) "Liss", (char *) DEF_LISS, t_Bool} + {&grow, "grow", "Grow", DEF_GROW, t_Bool}, + {&liss, "liss", "Liss", DEF_LISS, t_Bool} }; static OptionStruct desc[] = { - {(char *) "-/+grow", (char *) "turn on/off growing fractals, else they are animated"}, - {(char *) "-/+liss", (char *) "turn on/off using lissojous figures to get points"} + {"-/+grow", "turn on/off growing fractals, else they are animated"}, + {"-/+liss", "turn on/off using lissojous figures to get points"} }; ModeSpecOpt drift_opts =