summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-26 18:59:41 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-26 18:59:41 +0200
commitd1be68b99867261dc9298f3441acc09028897d6f (patch)
tree11fa6f1d2cf39933b6c9f1778fc3281ae02dfa7e
parentea9f93442a3e073b47ead4d98076f2fb6e3dcb33 (diff)
downloadmv-d1be68b99867261dc9298f3441acc09028897d6f.tar.gz
mv-d1be68b99867261dc9298f3441acc09028897d6f.tar.bz2
mv-d1be68b99867261dc9298f3441acc09028897d6f.tar.xz
mv-d1be68b99867261dc9298f3441acc09028897d6f.zip
Fix code style.
-rw-r--r--src/gui/widgets/tab.cpp4
-rw-r--r--src/opengl1graphics.cpp3
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;