From aa8bd3966617d74a2d4310f0aecdc391952fa20b Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 1 Aug 1990 14:36:45 +0000 Subject: [PATCH] only leave ms_std's if prodepth > 0 --- util/opt/backward.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/opt/backward.c b/util/opt/backward.c index b6c117a5..632889e3 100644 --- a/util/opt/backward.c +++ b/util/opt/backward.c @@ -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;