#include <lib-lib/str.h>
#include <lib-lib/macros.h>
#include <lib-lib/ascii.h>
+#include <lib-lib/file.h>
#include "mutt.h"
#include "enter.h"
if (body->filename) {
if (directory && *directory)
- mutt_concat_path (buf, *directory, mutt_basename (body->filename),
- sizeof (buf));
+ mutt_concat_path(buf, sizeof(buf), *directory,
+ mutt_basename(body->filename));
else
strfcpy (buf, body->filename, sizeof (buf));
}
attach_collapse (cur, 0, 1, 0);
mutt_update_attach_index (cur, &idx, &idxlen, &idxmax, menu);
- FOREVER {
+ for (;;) {
if (op == OP_NULL)
op = mutt_menuLoop (menu);
switch (op) {