{
int shift = option (OPTARROWCURSOR) ? 3 : 0;
int cols = COLS - shift - SidebarWidth;
-
- char tmpbuf[n];
+ char* tmpbuf = safe_malloc (n);
mutt_format_string (tmpbuf, n, cols, cols, 0, ' ', s, strlen (s), 1);
tmpbuf[n - 1] = 0;
-
snprintf(s,n,"%s",tmpbuf); /* overkill */
+ FREE(&tmpbuf);
}
void menu_redraw_full (MUTTMENU *menu)