msi: Return length for the empty string in msi_string_lookup.
This commit is contained in:
parent
6955b09023
commit
31ea3f44dd
|
@ -352,8 +352,10 @@ int msi_addstringW( string_table *st, const WCHAR *data, int len, USHORT refcoun
|
|||
const WCHAR *msi_string_lookup( const string_table *st, UINT id, int *len )
|
||||
{
|
||||
if( id == 0 )
|
||||
{
|
||||
if (len) *len = 0;
|
||||
return szEmpty;
|
||||
|
||||
}
|
||||
if( id >= st->maxcount )
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue