diff --git a/src/gui/BufferPane.cc b/src/gui/BufferPane.cc index 8f99ea8..3a2b581 100644 --- a/src/gui/BufferPane.cc +++ b/src/gui/BufferPane.cc @@ -81,7 +81,7 @@ int BufferPane::screen_rows_below_line(const Buffer::Iterator & line) { Buffer::Iterator i = line; int rows = 0; - while ((rows < m_rows) && i.go_next_line()); + while ((rows < m_rows) && i.go_next_line()) { rows += rows_in_line(i); }