X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fwhatnowsbr.c;h=0e2a9987634dbceb0cf67175dd814ab159a8a00f;hb=b28e871ba874a53257b37eed94adfc365ed6ebf2;hp=b12307dc365cf9681a6541151088aaa323e578c2;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index b12307d..0e2a998 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