Commit fba24864 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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.
parent 424e3a9f
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment