X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnowproc.c;h=1b16e5d67614298a581c428004b24576a127cfa5;hp=12cd13af70e79a7e60b314ba7a8c18f82394c254;hb=c8195849d2e366c569271abb0f5f60f4ebf0b4d0;hpb=7b300825615f4d13c2c1a1bd0d05462f9708b7e7 diff --git a/uip/whatnowproc.c b/uip/whatnowproc.c index 12cd13a..1b16e5d 100644 --- a/uip/whatnowproc.c +++ b/uip/whatnowproc.c @@ -17,7 +17,7 @@ */ int what_now(char *ed, int nedit, int use, char *file, char *altmsg, int dist, - struct msgs *mp, char *text, int inplace, char *cwd) + struct msgs *mp, char *text, char *cwd) { int found, k, msgnum, vecp; int len, buflen; @@ -59,7 +59,6 @@ what_now(char *ed, int nedit, int use, char *file, char *altmsg, int dist, unputenv("mhmessages"); unputenv("mhannotate"); - unputenv("mhinplace"); if (text && mp && !is_readonly(mp)) { found = 0; @@ -87,8 +86,6 @@ what_now(char *ed, int nedit, int use, char *file, char *altmsg, int dist, if (found) { m_putenv("mhmessages", buffer); m_putenv("mhannotate", text); - snprintf(buffer, sizeof(buffer), "%d", inplace); - m_putenv("mhinplace", buffer); } }