Hans Leidekker : fusion: Allow zero spaces between attributes in display names.
Alexandre Julliard
julliard at winehq.org
Wed May 16 14:22:39 CDT 2012
Module: wine
Branch: master
Commit: aa2ad840b9390397e1cb1a2baaad41d0b4b7e74c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aa2ad840b9390397e1cb1a2baaad41d0b4b7e74c
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed May 16 10:07:12 2012 +0200
fusion: Allow zero spaces between attributes in display names.
---
dlls/fusion/asmname.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/fusion/asmname.c b/dlls/fusion/asmname.c
index be5ccae..36d794b 100644
--- a/dlls/fusion/asmname.c
+++ b/dlls/fusion/asmname.c
@@ -622,7 +622,7 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
if (!ptr)
goto done;
- str = ptr + 2;
+ str = ptr + 1;
while (!done)
{
ptr = strchrW(str, '=');
@@ -639,7 +639,7 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
goto done;
}
- if (!(ptr2 = strstrW(ptr, separator)))
+ if (!(ptr2 = strchrW(ptr, ',')))
{
if (!(ptr2 = strchrW(ptr, '\0')))
{
More information about the wine-cvs
mailing list