diff options
author | Torbjörn Andersson | 2010-01-21 23:05:33 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-01-21 23:05:33 +0000 |
commit | 1928a7ba38bed50b2342fa0946538b6dc5330755 (patch) | |
tree | f00a042f11e56e422b47f7555fb29bd75c04ccfa /engines/saga | |
parent | 8257b1106cf8c037c56ee855edc3d8dd32d12dd8 (diff) | |
download | scummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.tar.gz scummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.tar.bz2 scummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.zip |
Silenced some cppcheck warnings.
svn-id: r47427
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp index 8dfbd3e9f2..9ef5c40c02 100644 --- a/engines/saga/saveload.cpp +++ b/engines/saga/saveload.cpp @@ -136,7 +136,7 @@ void SagaEngine::fillSaveList() { _saveFilesCount = 0; - 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]; |