From 74110342157470ce4fda159b6f9327077da783ab Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 5 Jun 2003 23:56:32 +0000 Subject: make code use our coding conventions svn-id: r8340 --- backends/sdl/sdl-common.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'backends') diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 4849b1b1ca..e6a4069356 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -198,10 +198,9 @@ 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) + if (_screenWidth==pitch && pitch==w) { memcpy (dst, buf, h*w); - else - { + } else { do { memcpy(dst, buf, w); dst += _screenWidth; -- cgit v1.2.3