http://ftp.x.org/contrib/applications/xscreensaver-2.21.tar.gz
[xscreensaver] / hacks / moire2.c
index 463478c674a6429287cf4e92dd2c131e646ec5e7..61d68c7081c5f425aa3a17c55b8c0a5e04f249d1 100644 (file)
@@ -13,7 +13,7 @@
 #include <X11/Xutil.h>
 #include <stdio.h>
 
-static int ncolors, color_shift;
+static int ncolors;
 static XColor *colors = 0;
 static int fg_pixel, bg_pixel;
 static Pixmap p0 = 0, p1 = 0, p2 = 0, p3 = 0;
@@ -207,8 +207,8 @@ moire2 (Display *dpy, Window window)
 char *progclass = "Moire2";
 
 char *defaults [] = {
-  "Moire2.background:  black",         /* to placate SGI */
-  "Moire2.foreground:  white",
+  "*background:                black",
+  "*foreground:                white",
   "*delay:             50000",
   "*thickness:         0",
   "*colors:            150",