aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index eca9c47e582..dc96bc27e78 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1375,8 +1375,10 @@ list_processes_1 (query_only)
1375 if (w_tty) 1375 if (w_tty)
1376 { 1376 {
1377 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1); 1377 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1);
1378 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_tty + 1); 1378 XSETFASTINT (i_command, XFASTINT (i_tty) + w_tty + 1);
1379 } else { 1379 }
1380 else
1381 {
1380 i_tty = Qnil; 1382 i_tty = Qnil;
1381 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1); 1383 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1);
1382 } 1384 }