snprintf (dest, destlen, "%s %s", fmt, _src);
snprintf (dest, destlen, "%s %s", fmt, src);
void mutt_expand_fmt (char *dest, size_t destlen, const char *fmt, const char *src){  const char *p = fmt;  const char *last = p;  size_t len;  char *_src;  size_t slen;  int found = 0;  /* some rationale should be given here: mutt's quoting   * rules are similar enough to the shell's rules so we   * can use mutt_quote_filename() even for patterns.   */  _src = mutt_quote_filename(src);  slen = strlen (_src);    while ((p = strchr (p, '%')) != NULL)  {    if (p[1] == 's')    {      found++;      len = (size_t) (p - last);      if (len)      {	if (len > destlen - 1)	  len = destlen - 1;	memcpy (dest, last, len);	dest += len;	destlen -= len;	if (destlen <= 0)	{	  *dest = 0;	  break; /* no more space */	}      }      strfcpy (dest, _src, destlen);      if (slen > destlen)      {	/* no more room */	break;      }      dest += slen;      destlen -= slen;      p += 2;      last = p;    }    else if (p[1] == '%')      p++;    p++;  }  if (found)    strfcpy (dest, last, destlen);  else    snprintf (dest, destlen, "%s %s", fmt, _src);    FREE(&_src);}