From 1cac1fffd2e7e23b04569b7c46390c827d9f014f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 12 Apr 1994 04:39:34 +0000 Subject: (send_process): Test pty_flag field for nil, not 0. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/process.c b/src/process.c index d81b7c9fbab..971d2cba71b 100644 --- a/src/process.c +++ b/src/process.c @@ -2289,7 +2289,7 @@ send_process (proc, buf, len) /* Don't send more than pty_max_bytes bytes at a time. */ /* Subtract 1 to leave room for the EOF. */ - if (this >= pty_max_bytes && XPROCESS (proc)->pty_flag != 0) + if (this >= pty_max_bytes && !NILP (XPROCESS (proc)->pty_flag)) this = pty_max_bytes - 1; old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap); -- cgit v1.2.3