diff options
| author | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 | 
|---|---|---|
| committer | Eugene Sandulenko | 2009-01-01 15:06:43 +0000 | 
| commit | 696897b0583ad52ebc6f7666525277847619a8ce (patch) | |
| tree | 5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /engines/sword1/detection.cpp | |
| parent | 05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff) | |
| download | scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2 scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip | |
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'engines/sword1/detection.cpp')
| -rw-r--r-- | engines/sword1/detection.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp index 657364cc11..b478199f86 100644 --- a/engines/sword1/detection.cpp +++ b/engines/sword1/detection.cpp @@ -203,7 +203,7 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {  	for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) {  		// Obtain the last 3 digits of the filename, since they correspond to the save slot  		slotNum = atoi(file->c_str() + file->size() - 3); -		 +  		if (slotNum >= 0 && slotNum <= 999) {  			Common::InSaveFile *in = saveFileMan->openForLoading(file->c_str());  			if (in) { @@ -264,7 +264,7 @@ SaveStateDescriptor SwordMetaEngine::querySaveMetaInfos(const char *target, int  		int year = saveDate & 0xFFFF;  		desc.setSaveDate(year, month, day); -			 +  		int hour = (saveTime >> 8) & 0xFF;  		int minutes = saveTime & 0xFF; @@ -276,7 +276,7 @@ SaveStateDescriptor SwordMetaEngine::querySaveMetaInfos(const char *target, int  		return desc;  	} -	 +  	return SaveStateDescriptor();  } @@ -305,11 +305,11 @@ Common::Error SwordEngine::saveGameState(int slot, const char *desc) {  	return Common::kNoError;	// TODO: return success/failure  } -bool SwordEngine::canLoadGameStateCurrently() {  +bool SwordEngine::canLoadGameStateCurrently() {  	return mouseIsActive();  } -bool SwordEngine::canSaveGameStateCurrently() {  +bool SwordEngine::canSaveGameStateCurrently() {  	return mouseIsActive();  }  #endif | 
