summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/os3support.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/os3support.c b/amiga/os3support.c
index 987f18b2b..548d7ce16 100644
--- a/amiga/os3support.c
+++ b/amiga/os3support.c
@@ -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;
}