diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-16 03:19:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-16 03:19:47 +0300 |
commit | 2af5e3f72aef14b5b541b7c47878e0a13a343b85 (patch) | |
tree | 2321c64133686081c18ea738c5c2131d0e02951f /src/openglgraphics.cpp | |
parent | 6ac937583f9589e7049f2eb51eca62f2249ba7d6 (diff) | |
download | mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.gz mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.bz2 mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.tar.xz mv-2af5e3f72aef14b5b541b7c47878e0a13a343b85.zip |
Fix code style.
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r-- | src/openglgraphics.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index b67d4b2be..2ec5db490 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -529,7 +529,8 @@ void OpenGLGraphics::drawRescaledImagePattern(Image *image, for (int py = 0; py < h; py += scaledHeight) { - const int height = (py + scaledHeight >= h) ? h - py : scaledHeight; + const int height = (py + scaledHeight >= h) + ? h - py : scaledHeight; const int dstY = y + py; for (int px = 0; px < w; px += scaledWidth) { @@ -583,7 +584,8 @@ void OpenGLGraphics::drawRescaledImagePattern(Image *image, for (int py = 0; py < h; py += scaledHeight) { - const int height = (py + scaledHeight >= h) ? h - py : scaledHeight; + const int height = (py + scaledHeight >= h) + ? h - py : scaledHeight; const int dstY = y + py; for (int px = 0; px < w; px += scaledWidth) { |