mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[FASTFAT]
Properly handle files at root. CORE-8125 #resolve svn path=/trunk/; revision=63045
This commit is contained in:
parent
6a1f297a19
commit
4d286e5a49
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ VfatCreateFile(
|
|||
--idx;
|
||||
}
|
||||
|
||||
if (idx > 0)
|
||||
if (idx > 0 || PathNameU.Buffer[0] == L'\\')
|
||||
{
|
||||
/* We don't want to include / in the name */
|
||||
FileNameLen = PathNameU.Length - ((idx + 1) * sizeof(WCHAR));
|
||||
|
|
Loading…
Reference in a new issue