remove useless code in Buffer constructor

This commit is contained in:
Maxime Coste 2013-12-16 23:53:04 +00:00
parent d9c3de3fc0
commit 0e6bbbb8c4

View File

@ -40,8 +40,6 @@ Buffer::Buffer(String name, Flags flags, std::vector<String> lines,
pos += m_lines.back().length();
}
Editor editor_for_hooks(*this);
InputHandler hook_handler(editor_for_hooks);
if (flags & Flags::File)
{
if (flags & Flags::New)