changeset 15519:045a36502ad4

(XTread_socket, Xatom_wm_save_yourself clause): Don't call XSetCommand if f is 0.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 Jun 1996 18:16:08 +0000
parents d01e58c9e431
children 4b152daa5b1d
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Jun 26 18:03:44 1996 +0000
+++ b/src/xterm.c	Wed Jun 26 18:16:08 1996 +0000
@@ -3354,7 +3354,7 @@
 			      XSetCommand (FRAME_X_DISPLAY (f),
 					   event.xclient.window,
 					   initial_argv, initial_argc);
-			    else
+			    else if (f)
 			      XSetCommand (FRAME_X_DISPLAY (f),
 					   event.xclient.window,
 					   0, 0);