msi: Fix error handling in encode_streamname().

This commit is contained in:
Gerald Pfeifer 2007-12-26 22:44:22 +01:00 committed by Alexandre Julliard
parent 27c98fd628
commit 05cf0bdf81
1 changed files with 1 additions and 1 deletions

View File

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