Fix typo in scratch buffer default content

This commit is contained in:
Maxime Coste 2019-03-19 21:44:30 +11:00
parent f87e844244
commit c2be661785

View File

@ -83,8 +83,8 @@ Buffer& BufferManager::get_first_buffer()
{ {
if (all_of(m_buffers, [](auto& b) { return (b->flags() & Buffer::Flags::Debug); })) if (all_of(m_buffers, [](auto& b) { return (b->flags() & Buffer::Flags::Debug); }))
create_buffer("*scratch*", Buffer::Flags::None, create_buffer("*scratch*", Buffer::Flags::None,
"*** this is a *scratch* buffer which wont be automatically saved ***\n" "*** this is a *scratch* buffer which won't be automatically saved ***\n"
"*** use it for notes or open a file buffer with the edit command ***\n"); "*** use it for notes or open a file buffer with the :edit command ***\n");
return *m_buffers.back(); return *m_buffers.back();
} }