[FASTFAT]

Fix typo.

svn path=/trunk/; revision=63038
This commit is contained in:
Pierre Schweitzer 2014-04-28 20:33:57 +00:00
parent 94f8fdd00f
commit 336b78eeba

View file

@ -617,7 +617,7 @@ VfatCreateFile(
/* VfatOpenFile() doesn't like our name ends with \, so chomp it if there's one */ /* VfatOpenFile() doesn't like our name ends with \, so chomp it if there's one */
if (RelatedFileObject->FileName.Buffer[RelatedFileObject->FileName.Length / sizeof(WCHAR) - 1] == L'\\') if (RelatedFileObject->FileName.Buffer[RelatedFileObject->FileName.Length / sizeof(WCHAR) - 1] == L'\\')
{ {
Chomp = FALSE; Chomp = TRUE;
RelatedFileObject->FileName.Length -= sizeof(WCHAR); RelatedFileObject->FileName.Length -= sizeof(WCHAR);
} }