http://ftp.x.org/contrib/applications/xscreensaver-2.23.tar.gz
[xscreensaver] / hacks / moire2.c
index 463478c674a6429287cf4e92dd2c131e646ec5e7..ee85b89ebd9477b9ecb6ab60f5d301d6eb78023e 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",