~mdw
/
sgt
/
halibut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
babfe3e
)
When loading a Type 1 font, remember to terminate the linked list we load
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 3 Feb 2007 14:05:32 +0000
(14:05 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 3 Feb 2007 14:05:32 +0000
(14:05 +0000)
it into.
git-svn-id: svn://svn.tartarus.org/sgt/halibut@7199
cda61777
-01e9-0310-a592-
d414129be87e
in_pf.c
patch
|
blob
|
blame
|
history
diff --git
a/in_pf.c
b/in_pf.c
index
0867376
..
8f7a4ac
100644
(file)
--- a/
in_pf.c
+++ b/
in_pf.c
@@
-71,6
+71,7
@@
static t1_data *load_pfb_file(FILE *fp, filepos *pos) {
tail->data = snewn(tail->length, unsigned char);
if (fread(tail->data, 1, tail->length, fp) != tail->length) abort();
}
+ tail->next = NULL;
}
static t1_data *load_pfa_file(FILE *fp, filepos *pos) {
@@
-90,6
+91,7
@@
static t1_data *load_pfa_file(FILE *fp, filepos *pos) {
}
ret->data = sresize(ret->data, off, unsigned char);
ret->length = off;
+ ret->next = NULL;
return ret;
}