Hans Leidekker : msi: Reverse the transform storage list order.

Alexandre Julliard julliard at winehq.org
Wed Jul 21 10:54:58 CDT 2010


Module: wine
Branch: master
Commit: fba248642b6cc9612b43cf519d47b3604bc57150
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fba248642b6cc9612b43cf519d47b3604bc57150

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Jul 21 09:47:18 2010 +0200

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.

---

 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 );




More information about the wine-cvs mailing list