mscoree: Leave the last backslash on application base path.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7aedfe0e9f
commit
0ea8893e1c
|
@ -170,7 +170,7 @@ static HRESULT RuntimeHost_GetDefaultDomain(RuntimeHost *This, const WCHAR *conf
|
|||
|
||||
slash = strrchr(base_dirA, '\\');
|
||||
if (slash)
|
||||
*slash = 0;
|
||||
*(slash + 1) = 0;
|
||||
|
||||
TRACE("setting base_dir: %s, config_path: %s\n", base_dirA, config_pathA);
|
||||
mono_domain_set_config(This->default_domain, base_dirA, config_pathA);
|
||||
|
|
Loading…
Reference in New Issue