fusion:asmname Improve parse_display_name
Alexandre Julliard
julliard at winehq.org
Thu Sep 9 11:18:17 CDT 2010
Alexandre Goujon <ale.goujon at gmail.com> writes:
> @@ -522,8 +522,18 @@ static HRESULT parse_display_name(IAssemblyNameImpl *name, LPCWSTR szAssemblyNam
> if (!str)
> return E_OUTOFMEMORY;
>
> - ptr = strstrW(str, separator);
> - if (ptr) *ptr = '\0';
> + ptr = strchrW(str, ',');
> +
> + if(ptr && *ptr != ' ')
> + *ptr = '\0';
It's unlikely that you would get a space here...
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list