summaryrefslogtreecommitdiffstats
path: root/jwxyz/jwxyz-common.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-30 16:03:58 +0200
committerSimon Rettberg2019-07-30 16:03:58 +0200
commit6a32252403781b303d4ebd195932ce39c5b1c08e (patch)
treecd2f8b3c4052c1b575caf33c9983ae531fad9092 /jwxyz/jwxyz-common.c
parentRemove android and OSX files (diff)
downloadxscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.gz
xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.xz
xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.zip
Update to 5.43
Diffstat (limited to 'jwxyz/jwxyz-common.c')
-rw-r--r--jwxyz/jwxyz-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/jwxyz/jwxyz-common.c b/jwxyz/jwxyz-common.c
index 1a31ae3..febb3b5 100644
--- a/jwxyz/jwxyz-common.c
+++ b/jwxyz/jwxyz-common.c
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1991-2018 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1991-2019 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -103,6 +103,7 @@ XDisplayHeightMM (Display *dpy, int screen)
unsigned long
XBlackPixelOfScreen(Screen *screen)
{
+ if (! screen) abort();
return DefaultVisualOfScreen (screen)->alpha_mask;
}