From 44d91bfa81d638a75b81a079edaa046ff4778194 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 1 Aug 2008 20:19:37 +0000 Subject: Massive changes to the renderer in order to replicate the current GUI theme, as requested by Eugene svn-id: r33507 --- graphics/VectorRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index 5ac976c251..3bd3b86cf8 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -517,7 +517,7 @@ template void VectorRendererSpec:: drawTab(int x, int y, int r, int w, int h) { if (x + w > Base::_activeSurface->w || y + h > Base::_activeSurface->h || - w <= 0 || h <= 0 || x < 0 || y < 0 || (r << 1) > w || (r << 1) > h) + w <= 0 || h <= 0 || x < 0 || y < 0 || r > w || r > h) return; switch (Base::_fillMode) { -- cgit v1.2.3