# HG changeset patch # User Richard M. Stallman # Date 835812968 0 # Node ID 045a36502ad4d3377e018149d4315fd34729cde2 # Parent d01e58c9e43181254e71406fe78c4f8cbed05ed9 (XTread_socket, Xatom_wm_save_yourself clause): Don't call XSetCommand if f is 0. diff -r d01e58c9e431 -r 045a36502ad4 src/xterm.c --- 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);