summaryrefslogtreecommitdiffstats
path: root/jwxyz/jwxyz-common.c
diff options
context:
space:
mode:
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;
}