summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-01-05 14:30:26 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-01-05 14:30:26 +0000
commit1e6fbf548b9df926a6e989f00a16aac794246648 (patch)
treea883a71e004d39f2b3f13325b040ea76c0ffd478 /src/buffer.cc
parentfeaf197caefdb08b6cd8b3e187defd5d22e23c6f (diff)
Fix some tabs in the code
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index e2d01201..3e510422 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -74,11 +74,11 @@ void Buffer::reload(std::vector<String> lines, time_t fs_timestamp)
for (auto listener : m_change_listeners)
listener->on_erase(*this, {0,0}, end_coord());
- m_history.clear();
- m_current_undo_group.clear();
- m_history_cursor = m_history.begin();
- m_last_save_undo_index = 0;
- m_lines.clear();
+ m_history.clear();
+ m_current_undo_group.clear();
+ m_history_cursor = m_history.begin();
+ m_last_save_undo_index = 0;
+ m_lines.clear();
++m_timestamp;
if (lines.empty())