Mercurial > otakunoraifu
changeset 19:94fe9153efa5
Enable the 99th save
author | thib |
---|---|
date | Sat, 18 Oct 2008 19:27:05 +0000 |
parents | 4d7486cb20a9 |
children | 824b89018ea8 |
files | scn2k/scn2k_impl.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;