diff options
author | Strangerke | 2012-02-25 12:44:37 +0100 |
---|---|---|
committer | Strangerke | 2012-02-25 12:44:37 +0100 |
commit | 9279b25694f16a6166c7eaf677682caeeaed5d7e (patch) | |
tree | f827b5ad7e5ed2a89085ce2b261adbd46443a6fc /engines/tsage/graphics.cpp | |
parent | 3a3c1eec5374a7d85a18ee55cab0891cd250529b (diff) | |
download | scummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.tar.gz scummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.tar.bz2 scummvm-rg350-9279b25694f16a6166c7eaf677682caeeaed5d7e.zip |
TSAGE: JANITORIAL: Remove trailing spaces
Diffstat (limited to 'engines/tsage/graphics.cpp')
-rw-r--r-- | engines/tsage/graphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp index acb615abae..5ddc7b6a1a 100644 --- a/engines/tsage/graphics.cpp +++ b/engines/tsage/graphics.cpp @@ -266,7 +266,7 @@ void GfxSurface::updateScreen() { continue; const byte *srcP = (const byte *)_customSurface->getBasePtr(r.left, r.top); - g_system->copyRectToScreen(srcP, _customSurface->pitch, r.left, r.top, + g_system->copyRectToScreen(srcP, _customSurface->pitch, r.left, r.top, r.width(), r.height()); } @@ -287,7 +287,7 @@ void GfxSurface::addDirtyRect(const Rect &r) { r2.translate(_bounds.left, _bounds.top); // Add to the dirty rect list - _dirtyRects.push_back(Rect(r2.left, r2.top, + _dirtyRects.push_back(Rect(r2.left, r2.top, MIN(r2.right + 1, SCREEN_WIDTH), MIN(r2.bottom + 1, SCREEN_HEIGHT))); } } @@ -1194,7 +1194,7 @@ void GfxDialog::setPalette() { g_globals->_scenePalette.setPalette(g_globals->_fontColors.background, 1); g_globals->_scenePalette.setPalette(g_globals->_fontColors.foreground, 1); g_globals->_scenePalette.setEntry(255, 0xff, 0xff, 0xff); - g_globals->_scenePalette.setPalette(255, 1); + g_globals->_scenePalette.setPalette(255, 1); } else { g_globals->_scenePalette.loadPalette(0); g_globals->_scenePalette.setPalette(0, 1); |