The `progress_put_sequence' function already does the right thing here.
{ progress_set_fgcolour(tty, fg); progress_set_bgcolour(tty, bg); }
else if (tty->cap.mr)
progress_put_sequence(tty, tty->cap.mr, 1);
{ progress_set_fgcolour(tty, fg); progress_set_bgcolour(tty, bg); }
else if (tty->cap.mr)
progress_put_sequence(tty, tty->cap.mr, 1);
- if (tty->cap.md)
- progress_put_sequence(tty, tty->cap.md, 1);
+ progress_put_sequence(tty, tty->cap.md, 1);
put_str(tty->fp, render->linebuf, render->leftsz);
if (!render->rightsz && (tty->cap.f&TCF_BCE) && tty->cap.ce)
put_str(tty->fp, render->linebuf, render->leftsz);
if (!render->rightsz && (tty->cap.f&TCF_BCE) && tty->cap.ce)