summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-11-22 04:23:15 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-11-22 04:23:15 +0000
commitfcae46d43bb2054b49deaf1c521051953b21c565 (patch)
treee168c902089c7ed5d2f813121238e311c78b9f16 /usr.bin/mg
parent0ed0363fcd82d6a89b0585079c89d5045ee08d59 (diff)
Fix up an ambiguous else (though ifdefed out at the moment)
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/modes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mg/modes.c b/usr.bin/mg/modes.c
index 4d312018f08..0048ab4a646 100644
--- a/usr.bin/mg/modes.c
+++ b/usr.bin/mg/modes.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: modes.c,v 1.13 2005/11/18 20:56:53 deraadt Exp $ */
+/* $OpenBSD: modes.c,v 1.14 2005/11/22 04:23:14 kjell Exp $ */
/* This file is in the public domain. */
@@ -163,11 +163,12 @@ set_default_mode(int f, int n)
defb_flag |= BFOVERWRITE;
}
#ifdef NOTAB
- if (strcmp(mode, "notab") == 0)
+ if (strcmp(mode, "notab") == 0) {
if (n <= 0)
defb_flag &= ~BFNOTAB;
else
defb_flag |= BFNOTAB;
+ }
#endif /* NOTAB */
return (TRUE);
}