fusion: Allow zero spaces between attributes in display names.

This commit is contained in:
Hans Leidekker 2012-05-16 10:07:12 +02:00 committed by Alexandre Julliard
parent 509966796d
commit aa2ad840b9
1 changed files with 2 additions and 2 deletions

View File

@ -622,7 +622,7 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
if (!ptr) if (!ptr)
goto done; goto done;
str = ptr + 2; str = ptr + 1;
while (!done) while (!done)
{ {
ptr = strchrW(str, '='); ptr = strchrW(str, '=');
@ -639,7 +639,7 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
goto done; goto done;
} }
if (!(ptr2 = strstrW(ptr, separator))) if (!(ptr2 = strchrW(ptr, ',')))
{ {
if (!(ptr2 = strchrW(ptr, '\0'))) if (!(ptr2 = strchrW(ptr, '\0')))
{ {