From: Hans Leidekker Date: Mon, 22 Feb 2010 11:25:21 +0000 (+0100) Subject: msi: All stream names starting with 0x0005 are unencoded. X-Git-Tag: wine-1.1.40~310 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=ba090ede7bcc174e0ee4cd31e83e071164cfd426;p=wine%2Feterwine.git msi: All stream names starting with 0x0005 are unencoded. Fixes a regression caused by 1ff992314887d03abeb4098789701ff3bfd5d2d8. --- diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c index 8ec2ad9acc..66bda767a0 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