From 1d40827da3af3c112a3a63ba1676d66cd5511802 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 21 Apr 2015 13:33:35 +0100 Subject: [PATCH] Small style tweak --- src/commands.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {