aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dict
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dict')
-rw-r--r--src/cmd/dict/dict.c4
1 files 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 = "]";
}