summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-25 19:35:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-25 19:35:14 +0300
commit6317f3e0c1e2c6d2e88dd99443e7f45f7bb77f44 (patch)
treee7952bc33830b240974c54396423b980ee078214 /src/guichan
parent3884c9d240a6dd7e3821f1ed9cb18a28a228b93e (diff)
downloadmanaverse-6317f3e0c1e2c6d2e88dd99443e7f45f7bb77f44.tar.gz
manaverse-6317f3e0c1e2c6d2e88dd99443e7f45f7bb77f44.tar.bz2
manaverse-6317f3e0c1e2c6d2e88dd99443e7f45f7bb77f44.tar.xz
manaverse-6317f3e0c1e2c6d2e88dd99443e7f45f7bb77f44.zip
Fix code style.
Diffstat (limited to 'src/guichan')
-rw-r--r--src/guichan/include/guichan/sdl/sdlpixel.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guichan/include/guichan/sdl/sdlpixel.hpp b/src/guichan/include/guichan/sdl/sdlpixel.hpp
index bfd08341b..f56100b4a 100644
--- a/src/guichan/include/guichan/sdl/sdlpixel.hpp
+++ b/src/guichan/include/guichan/sdl/sdlpixel.hpp
@@ -124,7 +124,8 @@ namespace gcn
SDL_LockSurface(surface);
- Uint8 *p = static_cast<Uint8*>(surface->pixels) + y * surface->pitch + x * bpp;
+ Uint8 *p = static_cast<Uint8*>(surface->pixels)
+ + y * surface->pitch + x * bpp;
Uint32 pixel = SDL_MapRGB(surface->format, color.r, color.g, color.b);