File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -796,6 +796,7 @@ void gDC::exec(const gOpcode *o)
796796 break ;
797797 case gOpcode ::renderText:
798798 {
799+ const char *ellipsis = reinterpret_cast <const char *>(u8" …" );
799800 ePtr<eTextPara> para = new eTextPara (o->parm .renderText ->area );
800801 int flags = o->parm .renderText ->flags ;
801802 int border = o->parm .renderText ->border ;
@@ -811,7 +812,7 @@ void gDC::exec(const gOpcode *o)
811812 if (flags & gPainter ::RT_WRAP) // Remove wrap
812813 flags -= gPainter ::RT_WRAP;
813814 std::string text = o->parm .renderText ->text ;
814- text += u8" … " ;
815+ text += ellipsis ;
815816
816817 eTextPara testpara (o->parm .renderText ->area );
817818 testpara.setFont (m_current_font);
@@ -826,7 +827,7 @@ void gDC::exec(const gOpcode *o)
826827 if ((int )text.size () > ns)
827828 {
828829 text.resize (ns);
829- text += u8" … " ;
830+ text += ellipsis ;
830831 }
831832 if (o->parm .renderText ->text )
832833 free (o->parm .renderText ->text );
You can’t perform that action at this time.
0 commit comments