diff --git a/src/commands.cc b/src/commands.cc index 8f2ea492..0d75d61f 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -391,8 +391,7 @@ void cycle_buffer(const ParametersParser& parser, Context& context) { if (it == BufferManager::instance().begin()) it = BufferManager::instance().end(); - - it = std::prev(it,1); + --it; } else {