X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1a780ed2dabd969c79431ffa5d8eb13af19e1007..15fde7dd84cc29c054857e5d8a7fdd4a8db10a97:/uip/comp.c?ds=sidebyside diff --git a/uip/comp.c b/uip/comp.c index 8129bb4c..ae87209f 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -1,6 +1,4 @@ - -/* - * comp.c -- compose a message +/* comp.c -- compose a message * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -10,6 +8,7 @@ #include #include #include +#include "../sbr/m_maildir.h" #include #define COMP_SWITCHES \ @@ -31,7 +30,7 @@ X("cc address", 0, CCSW) \ X("from address", 0, FROMSW) \ X("fcc mailbox", 0, FCCSW) \ - X("width colums", 0, WIDTHSW) \ + X("width columns", 0, WIDTHSW) \ X("subject text", 0, SUBJECTSW) \ #define X(sw, minchars, id) id, @@ -123,7 +122,7 @@ main (int argc, char **argv) case BILDSW: build++; - /* fall through */ + /* FALLTHRU */ case NWHATSW: nwhat++; continue; @@ -359,7 +358,7 @@ try_it_again: i = YESW; break; default: - advise (NULL, "say what?"); + inform("say what?"); break; } } @@ -397,7 +396,7 @@ edit_it: if (nwhat) done (0); - what_now (ed, nedit, use, drft, NULL, 0, NULLMP, NULL, 0, cwd, 0); + what_now (ed, nedit, use, drft, NULL, 0, NULL, NULL, 0, cwd, 0); done (1); return 1; }