diff --git a/src/widget_manager.cpp b/src/widget_manager.cpp index 977ee7afc..218d32dd2 100644 --- a/src/widget_manager.cpp +++ b/src/widget_manager.cpp @@ -630,8 +630,8 @@ int WidgetManager::calc_line_height( const int START_ELEM ) const while( i < NUM_ELEMS ) { - ++i; if( m_elems[i].type == ET_BREAK ) break; + ++i; } } }