diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-18 00:42:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-18 00:42:57 +0300 |
commit | 591869ee212806e271b1c924ece1f7d44daf2a06 (patch) | |
tree | 7af3e1ffa3bfb4a60aa859a21116d4eea70bcd4a /src/graphics.cpp | |
parent | a0d68ca09401811ac7764b975abca44ba8045cc9 (diff) | |
download | ManaVerse-591869ee212806e271b1c924ece1f7d44daf2a06.tar.gz ManaVerse-591869ee212806e271b1c924ece1f7d44daf2a06.tar.bz2 ManaVerse-591869ee212806e271b1c924ece1f7d44daf2a06.tar.xz ManaVerse-591869ee212806e271b1c924ece1f7d44daf2a06.zip |
Fix code style.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r-- | src/graphics.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp index 3693666ea..a6da603f6 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -1113,8 +1113,9 @@ void Graphics::fillRectangle(const gcn::Rectangle& rectangle) for (y = y1; y < y2; y++) { - uint32_t *p0 = reinterpret_cast<uint32_t*>(static_cast<uint8_t*>( - mTarget->pixels) + y * mTarget->pitch); + uint32_t *p0 = reinterpret_cast<uint32_t*>( + static_cast<uint8_t*>(mTarget->pixels) + + y * mTarget->pitch); for (x = x1; x < x2; x++) { uint32_t *p = p0 + x; |