diff --git a/src/ChangeLog b/src/ChangeLog index 206ded2aaa5..9ed11c061e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-11-26 Andreas Schwab + + * process.c (list_processes_1): Fix indentation level of the + command column. + 2007-11-24 YAMAMOTO Mitsuharu * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and 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) if (w_tty) { XSETFASTINT (i_tty, XFASTINT (i_buffer) + w_buffer + 1); - XSETFASTINT (i_command, XFASTINT (i_buffer) + w_tty + 1); - } else { + XSETFASTINT (i_command, XFASTINT (i_tty) + w_tty + 1); + } + else + { i_tty = Qnil; XSETFASTINT (i_command, XFASTINT (i_buffer) + w_buffer + 1); }