make code use our coding conventions

svn-id: r8340
This commit is contained in:
Max Horn 2003-06-05 23:56:32 +00:00
parent 6f9b34df1e
commit 7411034215

View file

@ -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;