aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 06edf7c5e84..4ad8fe24af5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2312,7 +2312,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
2312 2312
2313 /* Read data from the process, until we exhaust it. */ 2313 /* Read data from the process, until we exhaust it. */
2314 while (XINT (wait_proc->infd) >= 0 2314 while (XINT (wait_proc->infd) >= 0
2315 && nread = read_process_output (proc, XINT (wait_proc->infd))) 2315 && (nread
2316 = read_process_output (proc, XINT (wait_proc->infd))))
2316 total_nread += nread; 2317 total_nread += nread;
2317 if (total_nread > 0 && do_display) 2318 if (total_nread > 0 && do_display)
2318 redisplay_preserve_echo_area (); 2319 redisplay_preserve_echo_area ();