X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..d3a67123c9d05b6d639adb0e6b4a874807602a6b:/uip/repl.c diff --git a/uip/repl.c b/uip/repl.c index af58c59c..d7c09ac8 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -108,9 +108,9 @@ static struct swit aqrl[] = { { NULL, 0 } }; -short ccto = 1; /* global for replsbr */ -short cccc = 1; -short ccme = 1; +short ccto = 0; /* global for replsbr */ +short cccc = 0; +short ccme = 0; short querysw = 0; short outputlinelen = OUTPUTLINELEN; @@ -177,9 +177,11 @@ main (int argc, char **argv) case GROUPSW: groupreply++; + ccto = cccc = ccme = 1; continue; case NGROUPSW: groupreply = 0; + ccto = cccc = ccme = 0; continue; case ANNOSW: @@ -430,7 +432,7 @@ try_it_again: done (0); what_now (ed, nedit, NOUSE, drft, msg, 0, mp, anot ? "Replied" : NULL, inplace, cwd); - done (1); + return done (1); } void