summaryrefslogtreecommitdiff
path: root/src/render/graphics_calcImageRect.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 20:25:43 +0300
commit7e5386bc62f1f61d3409219292e1ec0d71cbd28e (patch)
tree3e4233abac1d52ff1103bdd8b4747a4e91b5f575 /src/render/graphics_calcImageRect.hpp
parent62879acf891f1939e16fa32d2426b56f08f1609b (diff)
downloadmanaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.gz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.bz2
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.xz
manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.zip
fix code style.
Diffstat (limited to 'src/render/graphics_calcImageRect.hpp')
-rw-r--r--src/render/graphics_calcImageRect.hpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/render/graphics_calcImageRect.hpp b/src/render/graphics_calcImageRect.hpp
index bf8da2a37..2d97f82c5 100644
--- a/src/render/graphics_calcImageRect.hpp
+++ b/src/render/graphics_calcImageRect.hpp
@@ -21,10 +21,10 @@
*/
-//bool Graphics::calcImageRect(ImageVertexes *const vert,
-// const int x, const int y,
-// const int w, const int h,
-// const ImageRect &imgRect)
+// bool GraphicsX::calcImageRect(ImageVertexes *const vert,
+// const int x, const int y,
+// const int w, const int h,
+// const ImageRect &imgRect)
if (!vert)
return;
@@ -76,7 +76,10 @@ if (topRight)
calcTileVertexesInline(vert, topRight, x + w - trw, y);
}
if (bottomLeft)
- calcTileVertexesInline(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
+{
+ calcTileVertexesInline(vert, bottomLeft,
+ x, y + h - bottomLeft->getHeight());
+}
if (bottomRight)
{
const int brw = bottomRight->getWidth();