diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-13 19:10:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-13 21:20:33 +0300 |
commit | fcf1da7a161c3e18d393a9b998effc6aa1c366b9 (patch) | |
tree | 5f92a8a168dd0748903cc90620a00c7c7bd29377 /src/render/sdl2softwaregraphics.cpp | |
parent | cd0baf3217701134a8e61932fd14c39cec0cf242 (diff) | |
download | manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.gz manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.bz2 manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.xz manaplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.zip |
fix code style.
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r-- | src/render/sdl2softwaregraphics.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index ac9f962ac..c1df5b3d0 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -745,8 +745,8 @@ void SDL2SoftwareGraphics::fillRectangle(const gcn::Rectangle &rectangle) case 2: for (y = y1; y < y2; y++) { - uint8_t *const p0 = static_cast<uint8_t *>(mSurface->pixels) - + y * mSurface->pitch; + uint8_t *const p0 = static_cast<uint8_t *>( + mSurface->pixels) + y * mSurface->pitch; for (x = x1; x < x2; x++) { uint8_t *const p = p0 + x * 2; @@ -766,8 +766,8 @@ void SDL2SoftwareGraphics::fillRectangle(const gcn::Rectangle &rectangle) for (y = y1; y < y2; y++) { - uint8_t *const p0 = static_cast<uint8_t *>(mSurface->pixels) - + y * mSurface->pitch; + uint8_t *const p0 = static_cast<uint8_t *>( + mSurface->pixels) + y * mSurface->pitch; for (x = x1; x < x2; x++) { uint8_t *const p = p0 + x * 3; @@ -794,8 +794,8 @@ void SDL2SoftwareGraphics::fillRectangle(const gcn::Rectangle &rectangle) for (y = y1; y < y2; y++) { - uint8_t *const p0 = static_cast<uint8_t *>(mSurface->pixels) - + y * mSurface->pitch; + uint8_t *const p0 = static_cast<uint8_t *>( + mSurface->pixels) + y * mSurface->pitch; for (x = x1; x < x2; x++) { uint8_t *p = p0 + x * 4; |