From: Matthew Fernandez Date: Sat, 20 Nov 2021 16:03:26 +0000 (-0800) Subject: gdiplusgen_textspan: squash -Wmisleading-indentation warning X-Git-Tag: 2.50.0~19^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d5b095c33890eb2718e236c9e7fdec83b3b3b8d;p=graphviz gdiplusgen_textspan: squash -Wmisleading-indentation warning --- diff --git a/plugin/gdiplus/gvrender_gdiplus.cpp b/plugin/gdiplus/gvrender_gdiplus.cpp index 25ddee1e5..440647a6c 100644 --- a/plugin/gdiplus/gvrender_gdiplus.cpp +++ b/plugin/gdiplus/gvrender_gdiplus.cpp @@ -176,8 +176,8 @@ static void gdiplusgen_textspan(GVJ_t *job, pointf p, textspan_t *span) else layout = new Layout(span->font->name, span->font->size, span->str); - /* draw the text */ - SolidBrush brush(Color(job->obj->pencolor.u.rgba [3], job->obj->pencolor.u.rgba [0], job->obj->pencolor.u.rgba [1], job->obj->pencolor.u.rgba [2])); + /* draw the text */ + SolidBrush brush(Color(job->obj->pencolor.u.rgba [3], job->obj->pencolor.u.rgba [0], job->obj->pencolor.u.rgba [1], job->obj->pencolor.u.rgba [2])); context->DrawString(&layout->text[0], layout->text.size(), layout->font.get(), PointF(p.x, -p.y), GetGenericTypographic(), &brush); if (span->free_layout != &gdiplus_free_layout)