From cfa187ade0f492441b07775c847d1be55378a1cb Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 29 Sep 2007 09:46:27 +0000 Subject: [PATCH] synedit: fixed crash if no bookmarkimages exist git-svn-id: trunk@12231 - --- components/synedit/synedit.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index d1c4f7428f..e359d65f5a 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -2876,7 +2876,7 @@ var fInternalImage.DrawMark(Canvas, CurMark.ImageIndex, fBookMarkOpt.LeftMargin + aGutterOffs^[iLine], iLine * fTextHeight, fTextHeight); - Inc(aGutterOffs^[iLine], fBookMarkOpt.BookmarkImages.Width); + Inc(aGutterOffs^[iLine], fBookMarkOpt.Xoffset); end; end; end;