-static void redraw_mix_line (string_list_t * chain)
-{
- int c;
- const char *t;
-
- mvwaddstr (stdscr, HDR_MIX, SW, " Mix: ");
-
- if (!chain) {
- waddstr (stdscr, "<no chain defined>");
- wclrtoeol (stdscr);
- return;
- }
-
- for (c = 12; chain; chain = chain->next) {
- t = chain->data;
- if (t && t[0] == '0' && t[1] == '\0')
- t = "<random>";
-
- if (c + m_strlen(t) + 2 >= COLS - SW)
- break;
-
- waddstr (stdscr, NONULL (t));
- if (chain->next)
- waddstr (stdscr, ", ");
-
- c += m_strlen(t) + 2;
- }
-}
-