mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-04-01 11:53:03 +03:00
Don't trash our buffer pointer when stepping through the taglist
This commit is contained in:
parent
bc3cb4070d
commit
ad4d1f66d3
@ -87,7 +87,9 @@ struct OutlineFont *OpenOutlineFont(STRPTR fileName, struct List *list, ULONG fl
|
||||
}
|
||||
|
||||
/* Relocate all the OT_Indirect tags */
|
||||
while (ti = NextTagItem(&buffer)) {
|
||||
struct TagItem *tstate = buffer;
|
||||
|
||||
while (ti = NextTagItem(&tstate)) {
|
||||
if(ti->ti_Tag & OT_Indirect) {
|
||||
ti->ti_Data += buffer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user