Commit 31ea3f44 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Return length for the empty string in msi_string_lookup.

parent 6955b090
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment