diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-26 18:59:41 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-26 18:59:41 +0200 |
commit | d1be68b99867261dc9298f3441acc09028897d6f (patch) | |
tree | 11fa6f1d2cf39933b6c9f1778fc3281ae02dfa7e /src | |
parent | ea9f93442a3e073b47ead4d98076f2fb6e3dcb33 (diff) | |
download | manaplus-d1be68b99867261dc9298f3441acc09028897d6f.tar.gz manaplus-d1be68b99867261dc9298f3441acc09028897d6f.tar.bz2 manaplus-d1be68b99867261dc9298f3441acc09028897d6f.tar.xz manaplus-d1be68b99867261dc9298f3441acc09028897d6f.zip |
Fix code style.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tab.cpp | 4 | ||||
-rw-r--r-- | src/opengl1graphics.cpp | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index 78165dc18..6750ffbbc 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -191,8 +191,8 @@ void Tab::draw(gcn::Graphics *graphics) { mMode = mode; mRedraw = false; - static_cast<Graphics*>(graphics)->calcWindow(mVertexes, 0, 0, getWidth(), - getHeight(), tabImg[mode]); + static_cast<Graphics*>(graphics)->calcWindow(mVertexes, 0, 0, + getWidth(), getHeight(), tabImg[mode]); } static_cast<Graphics*>(graphics)->drawImageRect2(mVertexes, tabImg[mode]); diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp index 30d54e754..b2742e360 100644 --- a/src/opengl1graphics.cpp +++ b/src/opengl1graphics.cpp @@ -412,7 +412,8 @@ bool OpenGL1Graphics::calcImageRect(GraphicsVertexes* vert, return true; } -void OpenGL1Graphics::drawImageRect2(GraphicsVertexes* vert, const ImageRect &imgRect) +void OpenGL1Graphics::drawImageRect2(GraphicsVertexes* vert, + const ImageRect &imgRect) { if (!vert) return; |