mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +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:
parent
7034b49d22
commit
4032632974
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -69,7 +69,7 @@ void vfat8Dot3ToString (PCHAR pBasename, PCHAR pExtension, PWSTR pName)
|
||||||
{
|
{
|
||||||
pName [toIndex++] = L'.';
|
pName [toIndex++] = L'.';
|
||||||
fromIndex = 0;
|
fromIndex = 0;
|
||||||
while (fromIndex < 3 && pBasename [fromIndex] != ' ')
|
while (fromIndex < 3 && pExtension [fromIndex] != ' ')
|
||||||
{
|
{
|
||||||
pName [toIndex++] = pExtension [fromIndex++];
|
pName [toIndex++] = pExtension [fromIndex++];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue