Gerald Pfeifer : msi: Fix error handling in encode_streamname().

Alexandre Julliard julliard at winehq.org
Thu Dec 27 08:31:29 CST 2007


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed Dec 26 22:44:22 2007 +0100

msi: Fix error handling in encode_streamname().

---

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

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index ca6fa1b..e5ad1af 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -189,7 +189,7 @@ LPWSTR encode_streamname(BOOL bTable, LPCWSTR in)
             if( next && (next<0x80) )
             {
                 next = utf2mime(next);
-                if( next >= 0  )
+                if( next != -1 )
                 {
                      next += 0x3ffffc0;
                      ch += (next<<6);




More information about the wine-cvs mailing list