Commit df1c03a0 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fix drive letter of current directory in get_full_path().

parent c0af8b73
......@@ -3604,7 +3604,7 @@ NTSTATUS get_full_path( const WCHAR *name, const WCHAR *curdir, WCHAR **path )
}
else if (IS_SEPARATOR(name[0])) /* absolute path */
{
root[4] = curdir[0];
root[4] = curdir[4];
prefix = root;
}
else if (name[0] && name[1] == ':') /* drive letter */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment