From 874d317334fae1ddce316f9b6f4d0ce4e434bf52 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Tue, 23 Jun 2026 21:34:41 -0700 Subject: heirloom vi fixes from arch AUR --- ex_set.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ex_set.c') diff --git a/ex_set.c b/ex_set.c index ca7fe45..1401c91 100644 --- a/ex_set.c +++ b/ex_set.c @@ -141,7 +141,7 @@ dontset: cp = "window"; } for (op = options; op < &options[NOPTS]; op++) - if (eq(op->oname, cp) || op->oabbrev && eq(op->oabbrev, cp)) + if (eq(op->oname, cp) || (op->oabbrev && eq(op->oabbrev, cp))) break; if (op->oname == 0) serror(catgets(catd, 1, 159, @@ -296,18 +296,18 @@ propt(register struct option *op) switch (op->otype) { case ONOFF: - printf(catgets(catd, 1, 165, "%s%s"), + ex_printf(catgets(catd, 1, 165, "%s%s"), op->ovalue ? catgets(catd, 1, 166, "") : catgets(catd, 1, 167, "no"), name); break; case NUMERIC: - printf(catgets(catd, 1, 168, "%s=%d"), name, op->ovalue); + ex_printf(catgets(catd, 1, 168, "%s=%d"), name, op->ovalue); break; case STRING: case OTERM: - printf(catgets(catd, 1, 169, "%s=%s"), name, op->osvalue); + ex_printf(catgets(catd, 1, 169, "%s=%s"), name, op->osvalue); break; } } -- cgit v1.2.3