msi: Reverse the transform storage list order.

This ensures that we use the most recently added stream if another
transform storage contains a stream by the same name. Fixes
wordconv.msp, an update for Word 2007.
This commit is contained in:
Hans Leidekker 2010-07-21 09:47:18 +02:00 committed by Alexandre Julliard
parent 424e3a9fb8
commit fba248642b

View file

@ -226,7 +226,7 @@ void append_storage_to_db( MSIDATABASE *db, IStorage *stg )
t = msi_alloc( sizeof *t );
t->stg = stg;
IStorage_AddRef( stg );
list_add_tail( &db->transforms, &t->entry );
list_add_head( &db->transforms, &t->entry );
/* the transform may add or replace streams */
free_streams( db );