Small style tweak
This commit is contained in:
parent
6e5e831ce6
commit
1d40827da3
|
@ -391,8 +391,7 @@ void cycle_buffer(const ParametersParser& parser, Context& context)
|
||||||
{
|
{
|
||||||
if (it == BufferManager::instance().begin())
|
if (it == BufferManager::instance().begin())
|
||||||
it = BufferManager::instance().end();
|
it = BufferManager::instance().end();
|
||||||
|
--it;
|
||||||
it = std::prev(it,1);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user