From e5af80a73990a3c0730a527971ccef5ff9472eba Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 22 Jan 2019 14:05:27 +0000 Subject: [PATCH] .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@12703 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/GLDraw/Ellipse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/GLDraw/Ellipse.cpp b/uppsrc/GLDraw/Ellipse.cpp index e0aba1dbb..990b99322 100644 --- a/uppsrc/GLDraw/Ellipse.cpp +++ b/uppsrc/GLDraw/Ellipse.cpp @@ -24,7 +24,7 @@ void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fil if(r.cx > 0 && r.cy > 0 && !IsNull(fill_color)) GLDrawPolygons(dd, center, fill, r, fill_color); r = radius - Sizef(width / 2, width / 2); - if(width && !IsNull(line_color)) + if(width && !IsNull(line_color)) { if(dash.GetCount()) { GL_TIMING("Ellipse Dash"); Vector line; @@ -38,6 +38,7 @@ void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fil } else GLDrawPolylines(dd, center, line, r, width, line_color); + } } void GLDrawEllipse(const GLContext2D& dd, Pointf center, Sizef radius, Color fill_color, double width,