summaryrefslogtreecommitdiff
blob: 09848e93ef2ee2881414e8f223fc5525572fd526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur screen-4.0.2.orig/process.c screen-4.0.2/process.c
--- screen-4.0.2.orig/process.c	2003-09-18 14:53:54.000000000 +0200
+++ screen-4.0.2/process.c	2005-07-06 19:55:08.370772955 +0200
@@ -4841,7 +4841,7 @@
   s = buf;
   for (display = displays; display; display = display->d_next)
     {
-      if (D_user == olddisplay->d_user)
+      if (olddisplay && D_user == olddisplay->d_user)
 	continue;
       for (cv = D_cvlist; cv; cv = cv->c_next)
 	if (Layer2Window(cv->c_layer) == p)