X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fapollonian.c;h=ad46b1a2c7908f0e079eba448e8cee8373e04ee1;hp=838f81fd73c4acf86cd073f06615b020f51be000;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=9c9d475ff889ed8be02e8ce8c17da28b93278fca diff --git a/hacks/apollonian.c b/hacks/apollonian.c index 838f81fd..ad46b1a2 100644 --- a/hacks/apollonian.c +++ b/hacks/apollonian.c @@ -90,10 +90,10 @@ static Bool label; static XrmOptionDescRec opts[] = { - {(char *) "-altgeom", (char *) ".apollonian.altgeom", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+altgeom", (char *) ".apollonian.altgeom", XrmoptionNoArg, (caddr_t) "off"}, - {(char *) "-label", (char *) ".apollonian.label", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+label", (char *) ".apollonian.label", XrmoptionNoArg, (caddr_t) "off"}, + {"-altgeom", ".apollonian.altgeom", XrmoptionNoArg, "on"}, + {"+altgeom", ".apollonian.altgeom", XrmoptionNoArg, "off"}, + {"-label", ".apollonian.label", XrmoptionNoArg, "on"}, + {"+label", ".apollonian.label", XrmoptionNoArg, "off"}, }; static argtype vars[] = { @@ -102,8 +102,8 @@ static argtype vars[] = }; static OptionStruct desc[] = { - {(char *) "-/+altgeom", (char *) "turn on/off alternate geometries (off euclidean space, on includes spherical and hyperbolic)"}, - {(char *) "-/+label", (char *) "turn on/off alternate space and number labeling"}, + {"-/+altgeom", "turn on/off alternate geometries (off euclidean space, on includes spherical and hyperbolic)"}, + {"-/+label", "turn on/off alternate space and number labeling"}, }; ModeSpecOpt apollonian_opts =