diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index fda6e5e773e..81443094818 100644 --- a/src/process.c +++ b/src/process.c @@ -2108,7 +2108,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) timeout_reduced_for_timers = 1; } } - else + /* If time_limit is -1, we are not going to wait at all. */ + else if (time_limit != -1) { /* This is so a breakpoint can be put here. */ wait_reading_process_input_1 (); |