diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-05-27 19:23:59 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-05-29 18:56:14 +0200 |
| commit | 6cb8d69d29c77c01d92f8adb63e574f7f8d512a4 (patch) | |
| tree | 856838456a3812b1ae1a31692f5988a94951053b /src/normal.cc | |
| parent | 9630990b748cacdf8721874b30cb36e086ea34a6 (diff) | |
Context: return DynamicSelectionLists in jump_{forward,backward}
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc index cb6b3b14..a3e24f50 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -691,7 +691,7 @@ void jump(Context& context) auto jump = (direction == JumpDirection::Forward) ? context.jump_forward() : context.jump_backward(); - Buffer& buffer = const_cast<Buffer&>(jump.front().buffer()); + Buffer& buffer = const_cast<Buffer&>(jump.buffer()); BufferManager::instance().set_last_used_buffer(buffer); if (&buffer != &context.buffer()) { |
