fix: did not work properly when name != TERM
This commit is contained in:
parent
2540279185
commit
ddc46385f3
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ char *name;
|
||||||
(void) strcpy(bp, file);
|
(void) strcpy(bp, file);
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
else file = "/etc/termcap";
|
||||||
} else
|
} else
|
||||||
file = "/etc/termcap";
|
file = "/etc/termcap";
|
||||||
if ((fp = fopen(file, "r")) == (FILE *) NULL)
|
if ((fp = fopen(file, "r")) == (FILE *) NULL)
|
||||||
|
|
Loading…
Reference in a new issue