[4/8] msi: Reverse the transform storage list order.
Hans Leidekker
hans at codeweavers.com
Wed Jul 21 02:47:18 CDT 2010
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.
---
dlls/msi/database.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/database.c b/dlls/msi/database.c
index 3e57792..b77b6fa 100644
--- a/dlls/msi/database.c
+++ b/dlls/msi/database.c
@@ -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 );
--
1.7.0.4
More information about the wine-patches
mailing list