aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 327395169e..daa93f0c36 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -787,7 +787,7 @@ void OSystem_SDL::copyRectToScreen(const byte *src, int pitch, int x, int y, int
byte *dst = (byte *)_screen->pixels + y * _screenWidth + x;
- if (_screenWidth==pitch && pitch == w) {
+ if (_screenWidth == pitch && pitch == w) {
memcpy(dst, src, h*w);
} else {
do {