diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ContractionState.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 4478f3844..6a0069732 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -231,7 +231,7 @@ int ContractionState::GetHeight(int lineDoc) const {  bool ContractionState::SetHeight(int lineDoc, int height) {  	if (OneToOne() && (height == 1)) {  		return false; -	} else { +	} else if (lineDoc < LinesInDoc()) {  		EnsureData();  		if (GetHeight(lineDoc) != height) {  			if (GetVisible(lineDoc)) { | 
