diff options
Diffstat (limited to 'src/cmd/troff/n8.c')
-rw-r--r-- | src/cmd/troff/n8.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cmd/troff/n8.c b/src/cmd/troff/n8.c index bace4aae..ded45438 100644 --- a/src/cmd/troff/n8.c +++ b/src/cmd/troff/n8.c @@ -461,19 +461,13 @@ static int texit(Tchar *start, Tchar *end) /* hyphenate as in tex, return # foun characters. sigh. */ -extern char *unsharp(char*); - -static char *texhyphens; - static int readpats(void) { FILE *fp; char buf[200], buf1[200]; - if(texhyphens == 0) - texhyphens = unsharp(TEXHYPHENS); - if ((fp = fopen(texhyphens, "r")) == NULL - && (fp = fopen(DWBalthyphens, "r")) == NULL) { + if ((fp = fopen(unsharp(TEXHYPHENS), "r")) == NULL + && (fp = fopen(unsharp(DWBalthyphens), "r")) == NULL) { ERROR "warning: can't find hyphen.tex" WARN; return 0; } |