Small formatting fixes
This commit is contained in:
parent
8cc96ec36b
commit
955d1dea66
|
@ -201,8 +201,9 @@ void Client::check_buffer_fs_timestamp()
|
|||
|
||||
m_input_handler.on_next_key(KeymapMode::None,
|
||||
[this, filename](Key key, Context& context) {
|
||||
Buffer* buf = BufferManager::instance().get_buffer_ifp(filename);
|
||||
m_ui->info_hide();
|
||||
|
||||
Buffer* buf = BufferManager::instance().get_buffer_ifp(filename);
|
||||
// buffer got deleted while waiting for the key, do nothing
|
||||
if (not buf)
|
||||
return;
|
||||
|
|
|
@ -345,7 +345,7 @@ Selection select_paragraph(const Buffer& buffer, const Selection& selection, Obj
|
|||
}
|
||||
if (flags & ObjectFlags::ToEnd)
|
||||
{
|
||||
if (last != buffer.end() && is_eol(*last))
|
||||
if (last != buffer.end() and is_eol(*last))
|
||||
++last;
|
||||
while (last != buffer.end())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user