diff --git a/graf2d/mathtext/inc/mathrender.h b/graf2d/mathtext/inc/mathrender.h index aa4fdf87d2e18f9570aba161c55a47430f67c839..fb314319bbbfc97783b8754ad07473f65fc3eaea 100644 --- a/graf2d/mathtext/inc/mathrender.h +++ b/graf2d/mathtext/inc/mathrender.h @@ -631,13 +631,14 @@ namespace mathtext { public: point_t _offset; bounding_box_t _bounding_box; + struct extension_t { + wchar_t _glyph; + unsigned int _family; + float _size; + }; union { unsigned int _style; - struct { - wchar_t _glyph; - unsigned int _family; - float _size; - } _extensible; + extension_t _extensible; }; float _delimiter_height; inline math_token_t(