[2/4] fusion: Allow zero spaces between attributes in display names.

Hans Leidekker hans at codeweavers.com
Wed May 16 03:07:12 CDT 2012


---
 dlls/fusion/asmname.c |    4 ++--
 1 file 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')))
             {
-- 
1.7.10







More information about the wine-patches mailing list