make code use our coding conventions
svn-id: r8340
This commit is contained in:
parent
6f9b34df1e
commit
7411034215
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue