mhl_format (char *file, int length, int width)
{
int i;
- char *bp, *cp, **ip;
+ char *bp, **ip;
char *ap, name[NAMESZ];
struct mcomp *c1;
struct stat st;
if (*bp == ';')
continue;
- if ((cp = strchr(bp, '\n')))
- *cp = 0;
+ TrimSuffixC(bp, '\n');
if (*bp == ':') {
(void) add_queue (&fmthd, &fmttl, NULL, bp + 1, CLEARTEXT);