[2/4] msi: All stream names starting with 0x0005 are unencoded.

Hans Leidekker hans at codeweavers.com
Mon Feb 22 05:25:21 CST 2010


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
-- 
1.6.3.3





More information about the wine-patches mailing list