Code formatting fixes
svn-id: r28945
This commit is contained in:
parent
c3d3aebe87
commit
3abc11611e
76 changed files with 602 additions and 602 deletions
|
@ -128,13 +128,13 @@ void SagaEngine::fillSaveList() {
|
|||
memset(_saveMarks, false, MAX_SAVES * sizeof(bool)); //assume no savegames for this title
|
||||
filenames = _saveFileMan->listSavefiles(name);
|
||||
|
||||
for(Common::StringList::iterator file = filenames.begin(); file != filenames.end(); file++){
|
||||
for (Common::StringList::iterator file = filenames.begin(); file != filenames.end(); file++){
|
||||
//Obtain the last 2 digits of the filename, since they correspond to the save slot
|
||||
slot[0] = file->c_str()[file->size()-2];
|
||||
slot[1] = file->c_str()[file->size()-1];
|
||||
|
||||
slotNum = atoi(slot);
|
||||
if(slotNum >= 0 && slotNum < MAX_SAVES)
|
||||
if (slotNum >= 0 && slotNum < MAX_SAVES)
|
||||
_saveMarks[slotNum] = true; //mark this slot as valid
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue