Aric Stewart <aric(a)codeweavers.com> writes:
> + len = ExpandEnvironmentStringsW(sei_tmp.lpFile, NULL, 0);
> + if (len>0)
> + {
> + LPWSTR buf;
> + buf = HeapAlloc(GetProcessHeap(),0,(len+1)*sizeof(WCHAR));
> +
> + ExpandEnvironmentStringsW(sei_tmp.lpFile, buf, len+1);
> + HeapFree(GetProcessHeap(), 0, wszApplicationName);
> + dwApplicationNameLen = len+1;
> + wszApplicationName = buf;
> +
> + sei_tmp.lpFile = wszApplicationName;
> + }
The indentation is all messed up, please fix your editor settings.
--
Alexandre Julliard
julliard(a)winehq.org