summaryrefslogtreecommitdiffstats
path: root/src/cmd/postscript/tr2post/readDESC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript/tr2post/readDESC.c')
-rw-r--r--src/cmd/postscript/tr2post/readDESC.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/postscript/tr2post/readDESC.c b/src/cmd/postscript/tr2post/readDESC.c
index 03b8b64d..4dbc193a 100644
--- a/src/cmd/postscript/tr2post/readDESC.c
+++ b/src/cmd/postscript/tr2post/readDESC.c
@@ -44,19 +44,19 @@ readDESC(void) {
char *descnameformat = "%s/dev%s/DESC";
char *descfilename = 0;
Biobuf *bfd;
- Biobuf *Bfd;
+ Biobufhdr *Bfd;
int i, state = -1;
int fontindex = 0;
if (debug) Bprint(Bstderr, "readDESC()\n");
descfilename = galloc(descfilename, strlen(descnameformat)+strlen(FONTDIR)
- +strlen(devname)+1, "readdesc");
+ +strlen(devname), "readdesc");
sprint(descfilename, descnameformat, FONTDIR, devname);
- if ((bfd = Bopen(unsharp(descfilename), OREAD)) == 0) {
+ if ((bfd = Bopen(descfilename, OREAD)) == 0) {
error(WARNING, "cannot open file %s\n", descfilename);
return(0);
}
- Bfd = bfd;
+ Bfd = bfd; /* &(bfd->Biobufhdr); */
while (Bgetfield(Bfd, 's', token, MAXTOKENSIZE) > 0) {
for (i=0; i<NDESCTOKS; i++) {