ntdll: Fix drive letter of current directory in get_full_path().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51057 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c0af8b7372
commit
df1c03a007
|
@ -3604,7 +3604,7 @@ NTSTATUS get_full_path( const WCHAR *name, const WCHAR *curdir, WCHAR **path )
|
||||||
}
|
}
|
||||||
else if (IS_SEPARATOR(name[0])) /* absolute path */
|
else if (IS_SEPARATOR(name[0])) /* absolute path */
|
||||||
{
|
{
|
||||||
root[4] = curdir[0];
|
root[4] = curdir[4];
|
||||||
prefix = root;
|
prefix = root;
|
||||||
}
|
}
|
||||||
else if (name[0] && name[1] == ':') /* drive letter */
|
else if (name[0] && name[1] == ':') /* drive letter */
|
||||||
|
|
Loading…
Reference in New Issue