Fixed no monospace font in the editor

master
krzys-h 2015-08-18 19:24:32 +02:00
parent c5da68d516
commit 3fe44be5d5
1 changed files with 1 additions and 1 deletions

View File

@ -3158,7 +3158,7 @@ bool CEdit::SetFormat(int cursor1, int cursor2, int format)
for ( i=cursor1 ; i<cursor2 ; i++ )
{
m_format.at(i) = format;
m_format.at(i) = (m_format.at(i) & ~Gfx::FONT_MASK_HIGHLIGHT) | format;
}
return true;