Hans Leidekker : msi: All stream names starting with 0x0005 are unencoded.

Alexandre Julliard julliard at winehq.org
Mon Feb 22 08:46:54 CST 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Feb 22 12:25:21 2010 +0100

msi: All stream names starting with 0x0005 are unencoded.

Fixes a regression caused by 1ff992314887d03abeb4098789701ff3bfd5d2d8.

---

 dlls/msi/streams.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c
index 8ec2ad9..66bda76 100644
--- a/dlls/msi/streams.c
+++ b/dlls/msi/streams.c
@@ -527,9 +527,9 @@ static INT add_streams_to_table(MSISTREAMSVIEW *sv)
             break;
         }
 
-        if (!strcmpW(stat.pwcsName, szSumInfo))
+        /* these streams appear to be unencoded */
+        if (*stat.pwcsName == 0x0005)
         {
-            /* summary information stream is not encoded */
             r = db_get_raw_stream(sv->db, stat.pwcsName, &stream->stream);
         }
         else




More information about the wine-cvs mailing list