Subversion Repositories spk

Rev

Rev 121 | Rev 127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 125
Line 90... Line 90...
90
 
90
 
91
bool COriginalFiles::backupFile(C_File *f, CyStringList *errors)
91
bool COriginalFiles::backupFile(C_File *f, CyStringList *errors)
92
{
92
{
93
	Utils::String newDir = "PluginManager/Original/" + f->getDirectory(NULL);
93
	Utils::String newDir = "PluginManager/Original/" + f->getDirectory(NULL);
94
	CDirIO oDir(_sDir);
94
	CDirIO oDir(_sDir);
95
	if ( oDir.Exists(newDir + "/" + f->GetFilename().ToString()) )
95
	if ( oDir.exists(newDir + "/" + f->GetFilename().ToString()) )
96
		return true;
96
		return true;
97
 
97
 
98
	// make sure the directory exissts
98
	// make sure the directory exissts
99
	if ( !oDir.exists(newDir) )
99
	if ( !oDir.exists(newDir) )
100
	{
100
	{