aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-03 21:20:16 +0200
committerEugene Sandulenko2016-09-03 21:20:16 +0200
commitb8ee5322f4e5c277fcf55852dade79c643cf8cc3 (patch)
treea9d21085999f8f7b2de39083423ffb20986e554c /backends
parent791012344607df1bd364da3e751dc9ad86445c62 (diff)
downloadscummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.tar.gz
scummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.tar.bz2
scummvm-rg350-b8ee5322f4e5c277fcf55852dade79c643cf8cc3.zip
JANITORIAL: Remove trailing whitespaces
Diffstat (limited to 'backends')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 29f94c34d7..f4a466d740 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -1091,7 +1091,7 @@ void SurfaceSdlGraphicsManager::internUpdateScreen() {
dstRect.y = (_osdSurface->h - _osdMessageSurface->h) / 2;
dstRect.w = _osdMessageSurface->w;
dstRect.h = _osdMessageSurface->h;
- blitOSDMessage(dstRect);
+ blitOSDMessage(dstRect);
}
}
}
@@ -2178,13 +2178,13 @@ void SurfaceSdlGraphicsManager::displayMessageOnOSD(const char *msg) {
SDL_SWSURFACE | SDL_RLEACCEL | SDL_SRCCOLORKEY | SDL_SRCALPHA,
width, height, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF
);
-
+
// Lock the surface
if (SDL_LockSurface(_osdMessageSurface))
error("displayMessageOnOSD: SDL_LockSurface failed: %s", SDL_GetError());
// Draw a dark gray rect
- // TODO: Rounded corners ? Border?
+ // TODO: Rounded corners ? Border?
SDL_FillRect(_osdMessageSurface, nullptr, SDL_MapRGB(_osdMessageSurface->format, 64, 64, 64));
Graphics::Surface dst;
@@ -2258,7 +2258,7 @@ void SurfaceSdlGraphicsManager::copyRectToOSD(const void *buf, int pitch, int x,
}
void SurfaceSdlGraphicsManager::clearOSD() {
- assert(_transactionMode == kTransactionNone);
+ assert(_transactionMode == kTransactionNone);
Common::StackLock lock(_graphicsMutex); // Lock the mutex until this function ends
@@ -2292,7 +2292,7 @@ void SurfaceSdlGraphicsManager::removeOSDMessage() {
osdRect.w = _osdMessageSurface->w;
osdRect.h = _osdMessageSurface->h;
SDL_FillRect(_osdSurface, &osdRect, kOSDColorKey);
- SDL_FreeSurface(_osdMessageSurface);
+ SDL_FreeSurface(_osdMessageSurface);
}
_osdMessageSurface = NULL;