only leave ms_std's if prodepth > 0

This commit is contained in:
ceriel 1990-08-01 14:36:45 +00:00
parent 5ca5b63151
commit 79ce5a13a0

View file

@ -161,7 +161,8 @@ backward() {
goodrom = (rc >= 2);
break;
case ps_mes:
if ((int) aoff(lnp->l_a.la_arg, 0) == ms_std) {
if (prodepth != 0 &&
(int) aoff(lnp->l_a.la_arg, 0) == ms_std) {
lnp->l_next = i;
i = lnp;
continue;