Author: cwittich Date: Thu Jan 24 20:27:38 2008 New Revision: 31974
URL: http://svn.reactos.org/svn/reactos?rev=31974&view=rev Log: fix index out of bounds warning
Modified: trunk/reactos/drivers/filesystems/vfat/dirwr.c
Modified: trunk/reactos/drivers/filesystems/vfat/dirwr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/di... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/dirwr.c (original) +++ trunk/reactos/drivers/filesystems/vfat/dirwr.c Thu Jan 24 20:27:38 2008 @@ -329,7 +329,7 @@ i++; for (j = 8; j < 11 && aName[i]; j++, i++) { - DirContext.DirEntry.Fat.Filename[j] = aName[i]; + DirContext.DirEntry.Fat.Ext[j - 8] = aName[i]; } } if (DirContext.DirEntry.Fat.Filename[0] == 0xe5)