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()) {