Commit 08d8bd1b 08d8bd1bf9226a2c1384acee80e74059da828285 by Sergey Poznyakoff

Bugfix in mh_whatnow

1 parent 4e7f5b5c
......@@ -420,10 +420,12 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
{
struct mu_wordsplit ws;
extern char **environ;
ws.ws_env = (char const **)environ;
if (mu_wordsplit (ed, &ws,
MU_WRDSF_QUOTE
| MU_WRDSF_SQUEEZE_DELIMS
| MU_WRDSF_ENV))
| MU_WRDSF_ENV
| MU_WRDSF_NOCMD))
{
mu_error (_("cannot split line `%s': %s"), ed,
mu_wordsplit_strerror (&ws));
......