ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver] / hacks / julia.c
index 680a5b196a03e73f65c1393d6fcc826bcb6c5120..a39025d5659ce0538128e941cbd65adc3f6483c6 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- Mode: C; tab-width: 4 -*-
  * julia --- continuously varying Julia set.
  */
-#if !defined( lint ) && !defined( SABER )
+#if 0
 static const char sccsid[] = "@(#)julia.c      4.03 97/04/10 xlockmore";
 #endif
 
@@ -20,8 +20,8 @@ static const char sccsid[] = "@(#)julia.c     4.03 97/04/10 xlockmore";
  * other special, indirect and consequential damages.
  *
  * Revision History:
- * 28-May-97: jwz@netscape.com: added interactive frobbing with the mouse.
- * 10-May-97: jwz@netscape.com: turned into a standalone program.
+ * 28-May-97: jwz@jwz.org: added interactive frobbing with the mouse.
+ * 10-May-97: jwz@jwz.org: turned into a standalone program.
  * 02-Dec-95: snagged boilerplate from hop.c
  *           used ifs {w0 = sqrt(x-c), w1 = -sqrt(x-c)} with random iteration 
  *           to plot the julia set, and sinusoidially varied parameter for set 
@@ -58,12 +58,12 @@ static Bool track_p;
 
 static XrmOptionDescRec opts[] =
 {
-       {"-mouse", ".julia.mouse", XrmoptionNoArg, (caddr_t) "on"},
-       {"+mouse", ".julia.mouse", XrmoptionNoArg, (caddr_t) "off"},
+       {"-mouse", ".julia.mouse", XrmoptionNoArg, "on"},
+       {"+mouse", ".julia.mouse", XrmoptionNoArg, "off"},
 };
 static argtype vars[] =
 {
-       {(caddr_t *) & track_p, "mouse", "Mouse", DEF_MOUSE, t_Bool},
+       {&track_p, "mouse", "Mouse", DEF_MOUSE, t_Bool},
 };
 static OptionStruct desc[] =
 {