X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..e66e25ec491d0fb3df708000d8494b4d598f0263:/uip/whatnowsbr.c diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index b12307dc..0e2a9987 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -26,7 +26,7 @@ static struct swit whatnowswitches[] = { #define VERSIONSW 6 { "version", 0 }, #define HELPSW 7 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -363,13 +363,14 @@ editfile (char **ed, char **arg, char *file, int use, struct msgs *mp, else { #endif if (((status & 0xff00) != 0xff00) - && (!reedit || (status & 0x00ff))) + && (!reedit || (status & 0x00ff))) { if (!use && (status & 0xff00) && (rename (file, cp = m_backup (file)) != NOTOK)) { advise (NULL, "problems with edit--draft left in %s", cp); } else { advise (NULL, "problems with edit--%s preserved", file); } + } status = -2; /* maybe "reedit ? -2 : -1"? */ break; #ifdef ATTVIBUG @@ -654,7 +655,7 @@ static struct swit sendswitches[] = { #define SVERSIONSW 22 { "version", 0 }, #define SHELPSW 23 - { "help", 4 }, + { "help", 0 }, #define BITSTUFFSW 24 { "dashstuffing", -12 }, #define NBITSTUFFSW 25