diff options
-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; |