2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <exec/types.h>
9 #include <utility/tagitem.h>
10 #include <utility/utility.h>
11 #include <aros/libcall.h>
13 /*****************************************************************************
16 #include <proto/utility.h>
18 AROS_LH2(void, ApplyTagChanges
,
21 AROS_LHA(struct TagItem
*, list
, A0
),
22 AROS_LHA(struct TagItem
*, changelist
, A1
),
25 struct UtilityBase
*, UtilityBase
, 31, Utility
)
45 *****************************************************************************/
49 /* Loop over the whole list */
60 /* Jump to new tag list */
62 list
=(struct TagItem
*)list
->ti_Data
;
64 /* Ignore this and skip the next ti_Data tags */
71 struct TagItem
*tagitem
;
72 /* Try to find it in the changelist */
73 tagitem
=FindTagItem(list
->ti_Tag
,changelist
);
76 /* Found it. Replace it. */
77 list
->ti_Data
=tagitem
->ti_Data
;
85 } /* ApplyTagChanges */