From: nveid Date: Thu, 26 Oct 2006 10:07:57 +0000 (+0000) Subject: progenvhotfix3 - stupid me.. reapplied fix wrong X-Git-Tag: 0.73~225 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=5b1b96d239e2b6a7c13cac69ed052df5b1222cc7;p=cobramush.git progenvhotfix3 - stupid me.. reapplied fix wrong --- diff --git a/src/prog.c b/src/prog.c index 7ad462e..a7b443a 100644 --- a/src/prog.c +++ b/src/prog.c @@ -483,9 +483,10 @@ prog_handler(DESC * d, char *input) rcnt = elist2arr(p_buf, NUMQ, safe_atr_value(a), '|'); for (i = 0; i < NUMQ && i < rcnt; i++) - if (p_buf[i] && strlen(p_buf[i]) > 0) - strcpy(global_eval_context.rnxt[i], p_buf[i]); - + if (p_buf[i] && strlen(p_buf[i]) > 0) { + strcpy(global_eval_context.renv[i], p_buf[i]); + global_eval_context.rnxt[i] = global_eval_context.renv[i]; + } } strcpy(buf, atr_value(d->pinfo.atr)); global_eval_context.wnxt[0] = input;