aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/graphics.cpp10
-rw-r--r--backends/platform/sdl/main.cpp2
-rw-r--r--backends/platform/sdl/sdl.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 7061f4a036..eb71a1ba0e 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -1147,12 +1147,12 @@ void OSystem_SDL::clearOverlay() {
SDL_LockSurface(_tmpscreen);
SDL_LockSurface(_overlayscreen);
- _scalerProc((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2, _tmpscreen->pitch,
+ _scalerProc((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2, _tmpscreen->pitch,
(byte *)_overlayscreen->pixels, _overlayscreen->pitch, _screenWidth, _screenHeight);
#ifndef DISABLE_SCALERS
if (_adjustAspectRatio)
- stretch200To240((uint8 *)_overlayscreen->pixels, _overlayscreen->pitch,
+ stretch200To240((uint8 *)_overlayscreen->pixels, _overlayscreen->pitch,
_overlayWidth, _screenHeight * _scaleFactor, 0, 0, 0);
#endif
SDL_UnlockSurface(_tmpscreen);
@@ -1264,7 +1264,7 @@ void OSystem_SDL::warpMouse(int x, int y) {
y1 = real2Aspect(y);
if (_mouseCurState.x != x || _mouseCurState.y != y) {
- if (!_overlayVisible)
+ if (!_overlayVisible)
SDL_WarpMouse(x * _scaleFactor, y1 * _scaleFactor);
else
SDL_WarpMouse(x, y1);
@@ -1352,7 +1352,7 @@ void OSystem_SDL::blitCursor() {
palette = _currentPalette;
else
palette = _cursorPalette;
-
+
for (i = 0; i < h; i++) {
for (j = 0; j < w; j++) {
color = *srcPtr;
@@ -1556,7 +1556,7 @@ void OSystem_SDL::drawMouse() {
if (_adjustAspectRatio && !_overlayVisible)
dst.y = real2Aspect(dst.y);
-
+
dst.x = scale * dst.x - _mouseCurState.rHotX;
dst.y = scale * dst.y - _mouseCurState.rHotY;
dst.w = _mouseCurState.rW;
diff --git a/backends/platform/sdl/main.cpp b/backends/platform/sdl/main.cpp
index afa4abb2b5..adb9cec08b 100644
--- a/backends/platform/sdl/main.cpp
+++ b/backends/platform/sdl/main.cpp
@@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
// Set up redirects for stdout/stderr under Windows and Symbian.
// Code copied from SDL_main.
//
-
+
// Symbian does not like any output to the console through any *print* function
char STDOUT_FILE[256], STDERR_FILE[256]; // shhh, don't tell anybody :)
strcpy(STDOUT_FILE, Symbian::GetExecutablePath());
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 9e71ebe0a5..5ef31f9253 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -107,7 +107,7 @@ void OSystem_SDL::initBackend() {
printf("Using joystick: %s\n", SDL_JoystickName(0));
_joystick = SDL_JoystickOpen(joystick_num);
}
-
+
// Create the savefile manager, if none exists yet (we check for this to
// allow subclasses to provide their own).
@@ -136,7 +136,7 @@ void OSystem_SDL::initBackend() {
_timer = new DefaultTimerManager();
_timerID = SDL_AddTimer(10, &timer_handler, _timer);
}
-
+
// Invoke parent implementation of this method
OSystem::initBackend();