summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-06 17:05:28 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-08-06 17:05:28 +0200
commitf1a087f9ed783c6159ec96c9e1c64d6e4d0f9512 (patch)
tree07a597b336f4f54df183af239466b1693f3bcf9d
parent9d9a86d39d3f22ea6db81729c1efc60ef55e0b83 (diff)
downloadfpGUI-f1a087f9ed783c6159ec96c9e1c64d6e4d0f9512.tar.xz
docview: We don't have Line.MaxDescender set, so no need to use it.
-rw-r--r--docview/components/richtext/RichTextDisplayUnit.pas2
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