diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-06 17:05:28 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-08-06 17:05:28 +0200 |
commit | f1a087f9ed783c6159ec96c9e1c64d6e4d0f9512 (patch) | |
tree | 07a597b336f4f54df183af239466b1693f3bcf9d /docview/components/richtext | |
parent | 9d9a86d39d3f22ea6db81729c1efc60ef55e0b83 (diff) | |
download | fpGUI-f1a087f9ed783c6159ec96c9e1c64d6e4d0f9512.tar.xz |
docview: We don't have Line.MaxDescender set, so no need to use it.
Diffstat (limited to 'docview/components/richtext')
-rw-r--r-- | docview/components/richtext/RichTextDisplayUnit.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/components/richtext/RichTextDisplayUnit.pas b/docview/components/richtext/RichTextDisplayUnit.pas index 4c0b5dde..fb3a2609 100644 --- a/docview/components/richtext/RichTextDisplayUnit.pas +++ b/docview/components/richtext/RichTextDisplayUnit.pas @@ -178,7 +178,7 @@ ProfileEvent('DEBUG: DrawRichTextLine >>>'); TextBlockStart := P; - Y := Start.Y + Line.MaxDescender; // co-ordinates are from top/left, so do we need descender? [Graeme] + Y := Start.Y; // + Line.MaxDescender; // co-ordinates are from top/left, so do we need descender? [Graeme] while P < EndP do begin |