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)
796
796
break ;
797
797
case gOpcode ::renderText:
798
798
{
799
+ const char *ellipsis = reinterpret_cast <const char *>(u8" …" );
799
800
ePtr<eTextPara> para = new eTextPara (o->parm .renderText ->area );
800
801
int flags = o->parm .renderText ->flags ;
801
802
int border = o->parm .renderText ->border ;
@@ -811,7 +812,7 @@ void gDC::exec(const gOpcode *o)
811
812
if (flags & gPainter ::RT_WRAP) // Remove wrap
812
813
flags -= gPainter ::RT_WRAP;
813
814
std::string text = o->parm .renderText ->text ;
814
- text += u8" … " ;
815
+ text += ellipsis ;
815
816
816
817
eTextPara testpara (o->parm .renderText ->area );
817
818
testpara.setFont (m_current_font);
@@ -826,7 +827,7 @@ void gDC::exec(const gOpcode *o)
826
827
if ((int )text.size () > ns)
827
828
{
828
829
text.resize (ns);
829
- text += u8" … " ;
830
+ text += ellipsis ;
830
831
}
831
832
if (o->parm .renderText ->text )
832
833
free (o->parm .renderText ->text );
You can’t perform that action at this time.
0 commit comments