mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Remove dot at the end of filename without extension
svn path=/trunk/; revision=20071
This commit is contained in:
parent
3785710133
commit
5b288afe1a
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ CdfsSwapString(PWCHAR Out,
|
|||
if (t[i+1] == 0 && t[i] == ';')
|
||||
break;
|
||||
}
|
||||
if ((i>2)&&(t[i-2] == '.'))
|
||||
{
|
||||
t[i-2] = 0;
|
||||
t[i-1] = 0;
|
||||
}
|
||||
t[i] = 0;
|
||||
t[i+1] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue