Mercurial > emacs
comparison src/process.c @ 87849:8f7e97005eef
(list_processes_1): Don't use SCHARS on a nil buffer name.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 19 Jan 2008 05:27:20 +0000 |
parents | 91da483b3fa5 |
children | c70e45a7acfd |
comparison
equal
deleted
inserted
replaced
87848:7471059517c8 | 87849:8f7e97005eef |
---|---|
1357 if (STRINGP (p->name) | 1357 if (STRINGP (p->name) |
1358 && ( i = SCHARS (p->name), (i > w_proc))) | 1358 && ( i = SCHARS (p->name), (i > w_proc))) |
1359 w_proc = i; | 1359 w_proc = i; |
1360 if (!NILP (p->buffer)) | 1360 if (!NILP (p->buffer)) |
1361 { | 1361 { |
1362 if (NILP (XBUFFER (p->buffer)->name) && w_buffer < 8) | 1362 if (NILP (XBUFFER (p->buffer)->name)) |
1363 w_buffer = 8; /* (Killed) */ | 1363 { |
1364 if (w_buffer < 8) | |
1365 w_buffer = 8; /* (Killed) */ | |
1366 } | |
1364 else if ((i = SCHARS (XBUFFER (p->buffer)->name), (i > w_buffer))) | 1367 else if ((i = SCHARS (XBUFFER (p->buffer)->name), (i > w_buffer))) |
1365 w_buffer = i; | 1368 w_buffer = i; |
1366 } | 1369 } |
1367 if (STRINGP (p->tty_name) | 1370 if (STRINGP (p->tty_name) |
1368 && (i = SCHARS (p->tty_name), (i > w_tty))) | 1371 && (i = SCHARS (p->tty_name), (i > w_tty))) |