From 696897b0583ad52ebc6f7666525277847619a8ce Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 1 Jan 2009 15:06:43 +0000 Subject: Whoa! Removing trailing spaces. svn-id: r35648 --- engines/sword1/detection.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/sword1/detection.cpp') 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 -- cgit v1.2.3