summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-06-01 05:34:53 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-06-01 05:34:53 +0000
commit2c614c2317802965476fd24c0aa1a301afa994f7 (patch)
tree390f7efe10a48baad872898049ed2f40b35b5ecf /usr.bin/mg/main.c
parentc5d658f862d9540dd3a7dc79f73be9da88737fce (diff)
make // /~ path rewriting optional in adjustname() and use it everywhere
except for the command line specified files. ok kjell,cloder
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 4500c461283..aedd3315c73 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.51 2006/05/28 23:30:16 kjell Exp $ */
+/* $OpenBSD: main.c,v 1.52 2006/06/01 05:34:52 jason Exp $ */
/* This file is in the public domain. */
@@ -108,7 +108,7 @@ main(int argc, char **argv)
startrow = lval;
} else {
notnum:
- cp = adjustname(argv[i]);
+ cp = adjustname(argv[i], FALSE);
if (cp != NULL) {
if (nfiles == 1)
splitwind(0, 1);