fix column number displayed for an empty buffer

This commit is contained in:
josh committed 2016-12-27 19:32:42 -05:00
1 parent 38d615ecc4
commit 2339380dd3
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@ BufferPane::BufferPane(Window * window, std::shared_ptr<Buffer> buffer)
m_scroll_offset = 5;
m_iterator = buffer->add_iterator();
m_target_column = 0;
m_cursor_virtual_column = 0;
}
void BufferPane::resize(int width, int height)