X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fpolyominoes.c;h=faa7698f344b80c586aea5af7bc7049d586f79d3;hp=02645b72431c40c593b0f9f832ba84901f130a8c;hb=ffd8c0873576a9e3065696a624dce6b766b77062;hpb=9c9d475ff889ed8be02e8ce8c17da28b93278fca diff --git a/hacks/polyominoes.c b/hacks/polyominoes.c index 02645b72..faa7698f 100644 --- a/hacks/polyominoes.c +++ b/hacks/polyominoes.c @@ -58,10 +58,10 @@ static Bool plain; static XrmOptionDescRec opts[] = { - {(char *) "-identical", (char *) ".polyominoes.identical", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+identical", (char *) ".polyominoes.identical", XrmoptionNoArg, (caddr_t) "off"}, - {(char *) "-plain", (char *) ".polyominoes.plain", XrmoptionNoArg, (caddr_t) "on"}, - {(char *) "+plain", (char *) ".polyominoes.plain", XrmoptionNoArg, (caddr_t) "off"} + {"-identical", ".polyominoes.identical", XrmoptionNoArg, "on"}, + {"+identical", ".polyominoes.identical", XrmoptionNoArg, "off"}, + {"-plain", ".polyominoes.plain", XrmoptionNoArg, "on"}, + {"+plain", ".polyominoes.plain", XrmoptionNoArg, "off"} }; static argtype vars[] = { @@ -70,8 +70,8 @@ static argtype vars[] = }; static OptionStruct desc[] = { - {(char *) "-/+identical", (char *) "turn on/off puzzles where the polyomino pieces are identical"}, - {(char *) "-/+plain", (char *) "turn on/off plain pieces"} + {"-/+identical", "turn on/off puzzles where the polyomino pieces are identical"}, + {"-/+plain", "turn on/off plain pieces"} }; ModeSpecOpt polyominoes_opts =