diff options
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 3a261026c6..1fa453e5c8 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -195,7 +195,7 @@ void OSystem_SDL_Common::copy_rect(const byte *buf, int pitch, int x, int y, int byte *dst = (byte *)_screen->pixels + y * _screenWidth + x; if (_screenWidth==pitch && pitch==w) { - memcpy (dst, buf, h*w); + memcpy(dst, buf, h*w); } else { do { memcpy(dst, buf, w); |