X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fwhatnowproc.c;h=fbea9416d3e1868003779fc9b7e15f20bb34ea5f;hp=1b16e5d67614298a581c428004b24576a127cfa5;hb=f85f4b7ae62e3d05a945dcd46ead51f0a2a89a9b;hpb=c8195849d2e366c569271abb0f5f60f4ebf0b4d0 diff --git a/uip/whatnowproc.c b/uip/whatnowproc.c index 1b16e5d..fbea941 100644 --- a/uip/whatnowproc.c +++ b/uip/whatnowproc.c @@ -51,8 +51,7 @@ what_now(char *ed, int nedit, int use, char *file, char *altmsg, int dist, if (nedit) { unputenv("mheditor"); } else { - m_putenv("mheditor", ed ? ed : (ed = context_find("editor")) ? - ed : defaulteditor); + m_putenv("mheditor", ed ? ed : defaulteditor); } snprintf(buffer, sizeof(buffer), "%d", use); m_putenv("mhuse", buffer);