X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdrift.c;h=6059142542671932efd9c92143a42501bb44680e;hp=50893db90b9fa9c312a6fe2824763a6c79421024;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=9c9d475ff889ed8be02e8ce8c17da28b93278fca diff --git a/hacks/drift.c b/hacks/drift.c index 50893db9..60591425 100644 --- a/hacks/drift.c +++ b/hacks/drift.c @@ -61,10 +61,10 @@ 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[] = { @@ -73,8 +73,8 @@ static argtype vars[] = }; 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 =