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:
Andrew Eikum 2016-12-16 14:50:30 -06:00 committed by Alexandre Julliard
parent 7aedfe0e9f
commit 0ea8893e1c
1 changed files with 1 additions and 1 deletions

View File

@ -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);