mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Put FindClose onto the correct position.
svn path=/trunk/; revision=16896
This commit is contained in:
parent
3e4d8abf36
commit
498a7947fe
1 changed files with 131 additions and 131 deletions
|
@ -528,7 +528,7 @@ INT CommandDelete (LPTSTR cmd, LPTSTR param)
|
|||
{
|
||||
/*remove the - from the front to get the real name*/
|
||||
_tcscpy (exfileName , arg[ii]);
|
||||
szFileName = strtok (exfileName,"-");
|
||||
szFileName = _tcstok (exfileName,_T("-"));
|
||||
GetFullPathName (szFileName,
|
||||
MAX_PATH,
|
||||
szFullPath,
|
||||
|
@ -619,10 +619,10 @@ INT CommandDelete (LPTSTR cmd, LPTSTR param)
|
|||
}
|
||||
}
|
||||
while (FindNextFile (hFile, &f));
|
||||
FindClose (hFile);
|
||||
}
|
||||
while(bSubFileFound);
|
||||
}
|
||||
FindClose (hFile);
|
||||
|
||||
freep (arg);
|
||||
|
||||
|
|
Loading…
Reference in a new issue