X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlsbr.c;h=5625fa18dd90926afa70e4838f48c0ab6a52ce15;hp=15360eaf67cd57d557183ca6847672938eb98028;hb=41f62fc47ef6f2d223b7584b3bb912e65a630445;hpb=51676eb43e6b8aced3a78f45f84ae146c046a5f0 diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index 15360ea..5625fa1 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -659,7 +659,9 @@ evalvar(struct mcomp *c1) if (ptos(name, &cp)) return 1; - nfs = new_fs(NULL, NULL, cp); + cp = concat("=", cp, NULL); + nfs = new_fs(cp, NULL); + free(cp); c1->c_nfs = getcpy(nfs); c1->c_flags |= FORMAT; return 0; @@ -668,7 +670,7 @@ evalvar(struct mcomp *c1) if (!mh_strcasecmp(name, "decode")) { char *nfs; - nfs = new_fs(NULL, NULL, "%(decode{text})"); + nfs = new_fs("=%(decode{text})", NULL); c1->c_nfs = getcpy(nfs); c1->c_flags |= FORMAT; return 0;