diff scn2k/scn2k_impl.cc @ 19:94fe9153efa5

Enable the 99th save
author thib
date Sat, 18 Oct 2008 19:27:05 +0000
parents 92765a5661f7
children 01aa5ddf7dc8
line wrap: on
line diff
--- a/scn2k/scn2k_impl.cc
+++ b/scn2k/scn2k_impl.cc
@@ -1010,7 +1010,7 @@ void Scn2k::LoadSys(void) {
 bool Scn2k::StatSaveFile(int num, int& year, int& month, int& day, int& wday, int& hour,int& min, int& sec, int& msec, string& title) const {
 	char buf[1024];
 	string path = MakeSaveFile();
-	if (num <= 0 || num > 99) return false;
+	if (num <= 0 || num > 100) return false;
 	sprintf(buf,".%d",num);
 	path += buf;