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 09705c436b7..013aad40117 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1370,8 +1370,10 @@ list_processes_1 (query_only)
1370 if (w_tty) 1370 if (w_tty)
1371 { 1371 {
1372 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1); 1372 XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1);
1373 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_tty + 1); 1373 XSETFASTINT (i_command, XFASTINT (i_tty) + w_tty + 1);
1374 } else { 1374 }
1375 else
1376 {
1375 i_tty = Qnil; 1377 i_tty = Qnil;
1376 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1); 1378 XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1);
1377 } 1379 }