From f9ecd95d6960341e696ab1aa8262e48135908d51 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 7 Mar 2009 19:24:31 +0000 Subject: Whitespace cleanup: Convert space followed by tab to just tab svn-id: r39203 --- engines/saga/interface.cpp | 8 ++++---- engines/saga/render.cpp | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 4aa8f6ae27..7a08a0e6c9 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -2186,10 +2186,10 @@ void Interface::drawButtonBox(const Rect& rect, ButtonKind kind, bool down) { _vm->_gfx->setPixelColor(x, ye, cornerColor); _vm->_gfx->setPixelColor(xe, y, cornerColor); _vm->_gfx->setPixelColor(xe, ye, cornerColor); - _vm->_gfx->hLine(x + 1, y, x + w - 2, frameColor); - _vm->_gfx->hLine(x + 1, ye, x + w - 2, frameColor); - _vm->_gfx->vLine(x, y + 1, y + h - 2, frameColor); - _vm->_gfx->vLine(xe, y + 1, y + h - 2, frameColor); + _vm->_gfx->hLine(x + 1, y, x + w - 2, frameColor); + _vm->_gfx->hLine(x + 1, ye, x + w - 2, frameColor); + _vm->_gfx->vLine(x, y + 1, y + h - 2, frameColor); + _vm->_gfx->vLine(xe, y + 1, y + h - 2, frameColor); x++; y++; diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp index 599fde20e5..f432dbd304 100644 --- a/engines/saga/render.cpp +++ b/engines/saga/render.cpp @@ -220,8 +220,8 @@ void Render::addDirtyRect(Common::Rect rect) { if (x2 > x1 && y2 > y1) { Common::Rect rectClipped(x1, y1, x2, y2); // Check if the new rectangle is contained within another in the list - Common::List::const_iterator it; - for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { + Common::List::const_iterator it; + for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { if (it->contains(rectClipped)) return; if (rectClipped.contains(*it)) { @@ -236,8 +236,8 @@ void Render::addDirtyRect(Common::Rect rect) { void Render::restoreChangedRects() { if (!_fullRefresh) { - Common::List::const_iterator it; - for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { + Common::List::const_iterator it; + for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { //_backGroundSurface.frameRect(*it, 1); // DEBUG if (_vm->_interface->getFadeMode() != kFadeOut) g_system->copyRectToScreen(_vm->_gfx->getBackBufferPixels(), _backGroundSurface.w, it->left, it->top, it->width(), it->height()); @@ -248,8 +248,8 @@ void Render::restoreChangedRects() { void Render::drawDirtyRects() { if (!_fullRefresh) { - Common::List::const_iterator it; - for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { + Common::List::const_iterator it; + for (it = _dirtyRects.begin(); it != _dirtyRects.end(); ++it) { //_backGroundSurface.frameRect(*it, 2); // DEBUG if (_vm->_interface->getFadeMode() != kFadeOut) g_system->copyRectToScreen(_vm->_gfx->getBackBufferPixels(), _backGroundSurface.w, it->left, it->top, it->width(), it->height()); -- cgit v1.2.3