summaryrefslogtreecommitdiff
path: root/ex_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'ex_set.c')
-rw-r--r--ex_set.c8
1 files changed, 4 insertions, 4 deletions
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;
}
}