From 39a55b921ece0756cdd1845e034a65633da07a64 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 22 Jun 2019 11:37:23 +1000 Subject: Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ as INDIC_ is also used for indicator styles. --- src/ViewStyle.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ViewStyle.cxx') diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index cfd9701ae..6b24e15fb 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -56,13 +56,13 @@ void FontRealised::Realise(Surface &surface, int zoomLevel, int technology, cons spaceWidth = surface.WidthText(font, " "); } -ViewStyle::ViewStyle() : markers(MARKER_MAX + 1), indicators(INDIC_MAX + 1) { +ViewStyle::ViewStyle() : markers(MARKER_MAX + 1), indicators(INDICATOR_MAX + 1) { Init(); } // Copy constructor only called when printing copies the screen ViewStyle so it can be // modified for printing styles. -ViewStyle::ViewStyle(const ViewStyle &source) : markers(MARKER_MAX + 1), indicators(INDIC_MAX + 1) { +ViewStyle::ViewStyle(const ViewStyle &source) : markers(MARKER_MAX + 1), indicators(INDICATOR_MAX + 1) { Init(source.styles.size()); styles = source.styles; for (size_t sty=0; sty