From 85117729d01e8f911beef396040eb2e739e5cc65 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 2 Apr 2004 15:34:42 +0000 Subject: [PATCH] Add some missing unsharps. --- src/cmd/dict/dict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/dict/dict.c b/src/cmd/dict/dict.c index a3ddd890..4526648e 100644 --- a/src/cmd/dict/dict.c +++ b/src/cmd/dict/dict.c @@ -68,7 +68,7 @@ main(int argc, char **argv) dict = 0; for(i=0; dicts[i].name; i++){ - if(access(dicts[i].path, 0)>=0 && access(dicts[i].indexpath, 0)>=0){ + if(access(unsharp(dicts[i].path), 0)>=0 && access(unsharp(dicts[i].indexpath), 0)>=0){ dict = &dicts[i]; break; } @@ -171,7 +171,7 @@ usage(void) Bprint(bout, "dictionaries (brackets mark dictionaries not present on this system):\n"); for(i = 0; dicts[i].name; i++){ a = b = ""; - if(access(dicts[i].path, 0)<0 || access(dicts[i].indexpath, 0)<0){ + if(access(unsharp(dicts[i].path), 0)<0 || access(unsharp(dicts[i].indexpath), 0)<0){ a = "["; b = "]"; }