Use a const reference for gutter colors

This commit is contained in:
Allan Odgaard
2013-02-18 15:34:32 +01:00
parent 75f3a0bfa2
commit 77f53c3e3e

View File

@@ -340,7 +340,7 @@ private:
}
[self setFont:textView.font]; // trigger update of gutter views line number font
auto styles = theme->gutter_styles();
auto const& styles = theme->gutter_styles();
gutterView.foregroundColor = [NSColor tmColorWithCGColor:styles.foreground];
gutterView.backgroundColor = [NSColor tmColorWithCGColor:styles.background];