diff options
author | Richard M. Stallman <[email protected]> | 1996-06-26 18:16:08 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1996-06-26 18:16:08 +0000 |
commit | f000f5c5ac061ad8075841b9c8fb2019ae5fc531 (patch) | |
tree | c83a332fa81dde0ce772ce91aece463382f9acdd | |
parent | be166d172626b2189fcb2be89f2cc14a080632da (diff) |
(XTread_socket, Xatom_wm_save_yourself clause):
Don't call XSetCommand if f is 0.
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 35fa4cf424..977e1b8020 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3354,7 +3354,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) 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); |