[FASTFAT]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 28 Apr 2014 20:33:57 +0000 (20:33 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 28 Apr 2014 20:33:57 +0000 (20:33 +0000)
Fix typo.

svn path=/trunk/; revision=63038

reactos/drivers/filesystems/fastfat/create.c

index 8ce7ca0..4124391 100644 (file)
@@ -617,7 +617,7 @@ VfatCreateFile(
             /* 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'\\')
             {
-                Chomp = FALSE;
+                Chomp = TRUE;
                 RelatedFileObject->FileName.Length -= sizeof(WCHAR);
             }