995.diff

nimetu, 06/23/2010 01:35 pm

Download (737 Bytes)

b/code/ryzom/tools/patch_gen/patch_gen_common.cpp Wed Jun 23 08:18:25 2010 +0300
375 375

  
376 376
				// delete the previous patch - because we only need the latest patch for non-incremental files
377 377
				std::string lastPatch= _PatchDirectory+NLMISC::CFile::getFilenameWithoutExtension(prevVersionFileName)+".patch";
378
				if (NLMISC::CFile::fileExists(lastPatch.c_str()))
378
				if (NLMISC::CFile::getFilename(lastPatch.c_str()) != "nul.patch" && NLMISC::CFile::fileExists(lastPatch.c_str()))
379 379
					NLMISC::CFile::deleteFile(lastPatch.c_str());
380 380
			}
381 381