git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4dcc0
)
in gfxfontlist, only skip inserting a font if the font structure itself (not just...
author
kramm
<kramm>
Sun, 6 Apr 2008 16:52:02 +0000
(16:52 +0000)
committer
kramm
<kramm>
Sun, 6 Apr 2008 16:52:02 +0000
(16:52 +0000)
lib/gfxtools.c
patch
|
blob
|
history
diff --git
a/lib/gfxtools.c
b/lib/gfxtools.c
index
486e285
..
614cfbd
100644
(file)
--- a/
lib/gfxtools.c
+++ b/
lib/gfxtools.c
@@
-774,7
+774,7
@@
gfxfontlist_t*gfxfontlist_addfont(gfxfontlist_t*list, gfxfont_t*font)
gfxfontlist_t*last=0,*l = list;
while(l) {
last = l;
- if(!strcmp((char*)l->font->id, font->id)) {
+ if(l->font == font) {
return list; // we already know this font
}
l = l->next;