Continuing in this case invites disaster. So let's try returning.

This commit is contained in:
Richard Heck 2013-02-24 15:29:54 -05:00
parent efaae780db
commit a4fa1a8f7b

View File

@ -263,7 +263,7 @@ void Text::changeDepth(Cursor & cur, DEPTH_CHANGE type)
void Text::setFont(Cursor & cur, Font const & font, bool toggleall)
{
LASSERT(this == cur.text(), /**/);
LASSERT(this == cur.text(), return);
// Set the current_font
// Determine basis font
FontInfo layoutfont;