diff options
author | Torbjörn Andersson | 2016-05-25 05:37:07 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-05-25 05:37:07 +0200 |
commit | 85e55d0c6ee6c1cdfabf121cc10d359c6c473cd6 (patch) | |
tree | 3dc6a8bb44a043fd930a928df172389d78d68086 /engines | |
parent | f37bfb4677d185b2ae506596b8eca59f6aea1fda (diff) | |
download | scummvm-rg350-85e55d0c6ee6c1cdfabf121cc10d359c6c473cd6.tar.gz scummvm-rg350-85e55d0c6ee6c1cdfabf121cc10d359c6c473cd6.tar.bz2 scummvm-rg350-85e55d0c6ee6c1cdfabf121cc10d359c6c473cd6.zip |
JANITORIAL: Remove unnecessary semicolons
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/graphics.cpp | 6 | ||||
-rw-r--r-- | engines/agi/saveload.cpp | 2 | ||||
-rw-r--r-- | engines/agi/systemui.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index c7d643d6a0..24cd4f43d3 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -605,7 +605,7 @@ void GfxMgr::render_BlockEGA(int16 x, int16 y, int16 width, int16 height, bool c switch (_upscaledHires) { case DISPLAY_UPSCALED_640x400: - offsetDisplay += _displayScreenWidth;; + offsetDisplay += _displayScreenWidth; break; default: break; @@ -660,7 +660,7 @@ void GfxMgr::render_BlockCGA(int16 x, int16 y, int16 width, int16 height, bool c switch (_upscaledHires) { case DISPLAY_UPSCALED_640x400: - offsetDisplay += _displayScreenWidth;; + offsetDisplay += _displayScreenWidth; break; default: break; @@ -743,7 +743,7 @@ void GfxMgr::render_BlockHercules(int16 x, int16 y, int16 width, int16 height, b offsetVisual += SCRIPT_WIDTH - width; offsetDisplay += _displayScreenWidth - displayWidth; - offsetDisplay += _displayScreenWidth;; + offsetDisplay += _displayScreenWidth; remainingHeight--; } diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp index aa46cf4e9f..fc4aea3169 100644 --- a/engines/agi/saveload.cpp +++ b/engines/agi/saveload.cpp @@ -829,7 +829,7 @@ SavedGameSlotIdArray AgiEngine::getSavegameSlotIds() { filenames = _saveFileMan->listSavefiles(_targetName + ".###"); Common::StringArray::iterator it; - Common::StringArray::iterator end = filenames.end();; + Common::StringArray::iterator end = filenames.end(); // convert to lower-case, just to be sure for (it = filenames.begin(); it != end; it++) { diff --git a/engines/agi/systemui.cpp b/engines/agi/systemui.cpp index aeb1ded4a2..1f26267ad6 100644 --- a/engines/agi/systemui.cpp +++ b/engines/agi/systemui.cpp @@ -585,7 +585,7 @@ void SystemUI::readSavedGameSlots(bool filterNonexistant, bool withAutoSaveSlot) slotIdArray.push_back(SYSTEMUI_SAVEDGAME_MAXIMUM_SLOTS); // so that the loop will process all slots SavedGameSlotIdArray::iterator it; - SavedGameSlotIdArray::iterator end = slotIdArray.end();; + SavedGameSlotIdArray::iterator end = slotIdArray.end(); for (it = slotIdArray.begin(); it != end; it++) { curSlotId = *it; |