Subversion Repositories spk

Rev

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

Rev 191 Rev 196
Line 152... Line 152...
152
			// create the mod file by copying the primary mod
152
			// create the mod file by copying the primary mod
153
			if ( IO::File::Exists(file) )
153
			if ( IO::File::Exists(file) )
154
				IO::File::Delete(file);
154
				IO::File::Delete(file);
155
			IO::File::Copy(this->textBox1->Text, file);
155
			IO::File::Copy(this->textBox1->Text, file);
156
			// and the dat file
156
			// and the dat file
157
			Utils::String file1 = CFileIO(_S(this->textBox1->Text)).changeFileExtension("dat");
157
			Utils::WString file1 = CFileIO(_S(this->textBox1->Text)).changeFileExtension(L"dat");
158
			Utils::String file2 = CFileIO(_S(file)).changeFileExtension("dat");
158
			Utils::WString file2 = CFileIO(_S(file)).changeFileExtension(L"dat");
159
			if ( IO::File::Exists(_US(file2)) )
159
			if ( IO::File::Exists(_US(file2)) )
160
				IO::File::Delete(_US(file2));
160
				IO::File::Delete(_US(file2));
161
			IO::File::Copy(_US(file1), _US(file2));
161
			IO::File::Copy(_US(file1), _US(file2));
162
 
162
 
163
			CCatFile CatFile;
163
			CCatFile CatFile;