summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-18 00:42:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-18 00:42:57 +0300
commit591869ee212806e271b1c924ece1f7d44daf2a06 (patch)
tree7af3e1ffa3bfb4a60aa859a21116d4eea70bcd4a /src/graphics.cpp
parenta0d68ca09401811ac7764b975abca44ba8045cc9 (diff)
downloadmanaverse-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.cpp5
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;