aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index d80d7db2554..c2f0c82a6a8 100644
--- a/src/process.c
+++ b/src/process.c
@@ -631,6 +631,7 @@ make_process (name)
631 p->tick = 0; 631 p->tick = 0;
632 p->update_tick = 0; 632 p->update_tick = 0;
633 p->pid = 0; 633 p->pid = 0;
634 p->pty_flag = 0;
634 p->raw_status_new = 0; 635 p->raw_status_new = 0;
635 p->status = Qrun; 636 p->status = Qrun;
636 p->mark = Fmake_marker (); 637 p->mark = Fmake_marker ();
@@ -1374,8 +1375,10 @@ list_processes_1 (query_only)
1374 if (w_tty) 1375 if (w_tty)
1375 { 1376 {
1376 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1); 1377 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1);
1377 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_tty + 1); 1378 XSETFASTINT (i_command, XFASTINT (i_tty) + w_tty + 1);
1378 } else { 1379 }
1380 else
1381 {
1379 i_tty = Qnil; 1382 i_tty = Qnil;
1380 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1); 1383 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1);
1381 } 1384 }