diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/PositionCache.cxx | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 664003c7e..f197a6559 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -237,8 +237,9 @@ Point LineLayout::PointFromPosition(int posInLine, int lineHeight) const {  				pt.x = positions[posInLine] - positions[rangeSubLine.start];  				if (rangeSubLine.start != 0)	// Wrapped lines may be indented  					pt.x += wrapIndent; -				break;  			} +		} else { +			break;  		}  	}  	return pt; | 
