From 7859dd2ac89ed078692cd370b3bdb43740298c5e Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 23 Jun 2014 17:03:49 +1000 Subject: Use Range type for hotspot to simplify manipulation. --- src/PositionCache.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/PositionCache.cxx') diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index b81fe5930..9e55c1a82 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -59,8 +59,7 @@ LineLayout::LineLayout(int maxLineLength_) : chars(0), styles(0), positions(0), - hsStart(0), - hsEnd(0), + hotspot(0,0), widthLine(wrapWidthInfinite), lines(1), wrapIndent(0) { -- cgit v1.2.3