mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix wrong variable usage - "Filename" (8 characters long) of a directory entry was referenced instead of a "ShortName" (11 characters long). The actual bug was harmless since both arrays are defined in an union and lie at the same place in memory.
svn path=/trunk/; revision=33447
This commit is contained in:
@@ -386,7 +386,7 @@ FATAddEntry(
|
||||
{
|
||||
pSlots[0].alias_checksum = (((pSlots[0].alias_checksum & 1) << 7
|
||||
| ((pSlots[0].alias_checksum & 0xfe) >> 1))
|
||||
+ DirContext.DirEntry.Fat.Filename[i]);
|
||||
+ DirContext.DirEntry.Fat.ShortName[i]);
|
||||
}
|
||||
/* construct slots and entry */
|
||||
for (i = nbSlots - 2; i >= 0; i--)
|
||||
|
||||
Reference in New Issue
Block a user