when clearing the cache, don't remove instructions.txt
This commit is contained in:
@@ -35,6 +35,8 @@ static void EmptyDir( CString dir )
|
|||||||
{
|
{
|
||||||
if (0 == stricmp( asCacheFileNames[i], ".cvsignore" )) // don't delete .cvsignore files
|
if (0 == stricmp( asCacheFileNames[i], ".cvsignore" )) // don't delete .cvsignore files
|
||||||
continue;
|
continue;
|
||||||
|
if (0 == stricmp( asCacheFileNames[i], "instructions.txt" )) // don't delete the instructions file.
|
||||||
|
continue;
|
||||||
|
|
||||||
remove( dir + asCacheFileNames[i] );
|
remove( dir + asCacheFileNames[i] );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user