summaryrefslogtreecommitdiffstats
path: root/src/cmd/map/map.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-13 04:49:19 +0000
committerrsc <devnull@localhost>2005-01-13 04:49:19 +0000
commitc8b6342d3c2a167dec16931815926e9e4387e7ef (patch)
tree80d3ec6ea074462b30639168113def880476dad6 /src/cmd/map/map.c
parent741f510ce758f77ed5193256fb693a09a7daecce (diff)
downloadplan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.tar.gz
plan9port-c8b6342d3c2a167dec16931815926e9e4387e7ef.zip
Many small edits.
Diffstat (limited to 'src/cmd/map/map.c')
-rw-r--r--src/cmd/map/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/map/map.c b/src/cmd/map/map.c
index e8dd3ab3..8d4dbfc2 100644
--- a/src/cmd/map/map.c
+++ b/src/cmd/map/map.c
@@ -21,7 +21,7 @@ char *mapindex(char *);
proj projection;
-static char *mapdir = "/lib/map"; /* default map directory */
+static char *mapdir = "#9/map"; /* default map directory */
struct file {
char *name;
char *color;
@@ -150,6 +150,7 @@ main(int argc, char *argv[])
double dd;
if(sizeof(short)!=2)
abort(); /* getshort() won't work */
+ mapdir = unsharp(mapdir);
s = getenv("MAP");
if(s)
file[0].name = s;