mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Fixed a minor bug in vfat8Dot3ToString,
that expands a short name from 'test.x' to 'test.x '. svn path=/trunk/; revision=2129
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: create.c,v 1.29 2001/07/25 08:58:21 ekohl Exp $
|
||||
/* $Id: create.c,v 1.30 2001/08/01 10:12:33 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -69,7 +69,7 @@ void vfat8Dot3ToString (PCHAR pBasename, PCHAR pExtension, PWSTR pName)
|
||||
{
|
||||
pName [toIndex++] = L'.';
|
||||
fromIndex = 0;
|
||||
while (fromIndex < 3 && pBasename [fromIndex] != ' ')
|
||||
while (fromIndex < 3 && pExtension [fromIndex] != ' ')
|
||||
{
|
||||
pName [toIndex++] = pExtension [fromIndex++];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user