leftovers in the 3.2.4 release

This commit is contained in:
albert
2004-11-04 20:50:59 +00:00
parent 6c949eddbe
commit c961f2604a
11 changed files with 259 additions and 157 deletions

3
top.c
View File

@ -2912,9 +2912,10 @@ static void task_show (const WIN_t *q, const proc_t *p)
case P_CMD:
{ char tmp[ROWBUFSIZ];
unsigned flags;
int maxcmd = q->maxcmdln;
if (CHKw(q, Show_CMDLIN)) flags = ESC_DEFUNCT | ESC_BRACKETS | ESC_ARGS;
else flags = ESC_DEFUNCT;
escape_command(tmp, p, sizeof tmp, q->maxcmdln, flags);
escape_command(tmp, p, sizeof tmp, &maxcmd, flags);
MKCOL(q->maxcmdln, q->maxcmdln, tmp);
}
break;