diff options
Diffstat (limited to 'src/LineMarker.cxx')
| -rw-r--r-- | src/LineMarker.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index ec9c86f74..6ded13c73 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -282,7 +282,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac  			surface->LineTo(right - 5, centreY + 5);  			right += 4;  		} -	} else { // SC_MARK_SHORTARROW +	} else if (markType == SC_MARK_SHORTARROW) {  		Point pts[] = {  			Point(centreX, centreY + dimOn2),  			Point(centreX + dimOn2, centreY), @@ -295,5 +295,7 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac  		};  		surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]),  				fore.allocated, back.allocated); +	} else { // SC_MARK_FULLRECT +		surface->FillRectangle(rcWhole, back.allocated);  	}  } | 
