From e89cd4f2dd535be146408596720d31534c59621f Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 4 Apr 2019 10:09:21 -0700 Subject: [PATCH] Fix unintentional self-assignment Assume what it was meant to be --- src/richtext/richtextbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index e86dc5abcd..eb29a00f6e 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -9302,7 +9302,7 @@ bool wxRichTextStdRenderer::MeasureBullet(wxRichTextParagraph* paragraph, wxDC& if (attr.GetBulletStyle() & wxTEXT_ATTR_BULLET_STYLE_STANDARD) { sz.x = (int) (((float) dc.GetCharHeight()) * wxRichTextBuffer::GetBulletProportion()); - sz.y = sz.y; + sz.y = sz.x; } else if (attr.HasBulletText()) {