From 0d20e57e29567ba3db09e098c2cb4a2dce8c2df5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 6 Oct 2018 10:44:56 +1000 Subject: [PATCH] Small style tweak --- src/window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cc b/src/window.cc index 52279c15..de5a1b2a 100644 --- a/src/window.cc +++ b/src/window.cc @@ -164,7 +164,7 @@ const DisplayBuffer& Window::update_display_buffer(const Context& context) } m_display_buffer.compute_range(); - BufferRange range{{0,0}, buffer().end_coord()}; + const BufferRange range{{0,0}, buffer().end_coord()}; for (auto pass : { HighlightPass::Wrap, HighlightPass::Move, HighlightPass::Colorize }) m_builtin_highlighters.highlight({context, setup, pass, {}}, m_display_buffer, range);