diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
| commit | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch) | |
| tree | 929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /ex_set.c | |
| parent | 15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff) | |
heirloom vi fixes from arch AUR
Diffstat (limited to 'ex_set.c')
| -rw-r--r-- | ex_set.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } } |
