X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fdemon.c;h=9e6bffa17cacc3f8c535b899fa78d496a8800a57;hb=447db08c956099b3b183886729108bf5b364c4b8;hp=46137d665babf61464dce1ca62d92949e99a3193;hpb=e4fa2ac140f7bc56571373a7b7eb585fa4500e38;p=xscreensaver diff --git a/hacks/demon.c b/hacks/demon.c index 46137d66..9e6bffa1 100644 --- a/hacks/demon.c +++ b/hacks/demon.c @@ -57,7 +57,7 @@ static const char sccsid[] = "@(#)demon.c 5.00 2000/11/01 xlockmore"; "*cycles: 1000 \n" \ "*size: -7 \n" \ "*ncolors: 64 \n" \ - "*neighbors: 0 \n" + #define UNIFORM_COLORS #include "xlockmore.h" /* in xscreensaver distribution */ #else /* STANDALONE */ @@ -77,7 +77,7 @@ static int neighbors; static XrmOptionDescRec opts[] = { - {(char *) "-neighbors", (char *) ".demon.neighbors", XrmoptionSepArg, (caddr_t) NULL} + {"-neighbors", ".demon.neighbors", XrmoptionSepArg, 0} }; static argtype vars[] = @@ -86,7 +86,7 @@ static argtype vars[] = }; static OptionStruct desc[] = { - {(char *) "-neighbors num", (char *) "squares 4 or 8, hexagons 6, triangles 3, 9 or 12"} + {"-neighbors num", "squares 4 or 8, hexagons 6, triangles 3, 9 or 12"} }; ModeSpecOpt demon_opts =