http://se.aminet.net/pub/X11/ftp.x.org/contrib/vms/xscreensaver-124.zip
[xscreensaver] / hacks / qix.c
old mode 100644 (file)
new mode 100755 (executable)
index 7c70574..e45c795
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@lucid.com>
+/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@mcom.com>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -71,8 +71,7 @@ init_one_qix (dpy, window, nlines)
       if (!XAllocColor (dpy, cmap, &qix->lines[0].color))
        {
          qix->lines[0].color.pixel = default_fg_pixel;
-         if (!XQueryColor (dpy, cmap, &qix->lines[0].color))
-           abort ();
+         XQueryColor (dpy, cmap, &qix->lines[0].color);
          if (!XAllocColor (dpy, cmap, &qix->lines[0].color))
            abort ();
        }
@@ -450,8 +449,8 @@ qix1 (dpy, window, qix)
 char *progclass = "Qix";
 
 char *defaults [] = {
-  "*background:        black",
-  "*foreground:        white",
+  "Qix.background:     black",         /* to placate SGI */
+  "Qix.foreground:     white",
   "*count:     1",
   "*segments:  50",
   "*spread:    8",