diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-09 11:01:31 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-09 11:01:31 +0200 |
commit | 2458fb383625e2fdd8362111804da0a53b56c648 (patch) | |
tree | 9daf87aa4e9c710a19dee964699b07a71a63c3ef | |
parent | 748a3f6b0e4d1b65874284cdb363e57e28e7ddc6 (diff) | |
download | fpGUI-2458fb383625e2fdd8362111804da0a53b56c648.tar.xz |
When debugging with GDB these lines sometimes gives FPC AnsiString errors.
No idea why!! So we comment them simply because they are debug lines
to start with.
-rw-r--r-- | docview/components/richtext/CanvasFontManager.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas index c182ba91..de81570d 100644 --- a/docview/components/richtext/CanvasFontManager.pas +++ b/docview/components/richtext/CanvasFontManager.pas @@ -873,8 +873,8 @@ try if AFont.Attributes = FontSpec.Attributes then begin // search name last since it's the slowest thing -ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName); -ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName); +//ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName); +//ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName); if AFont.FaceName = FontSpec.FaceName then begin // Found a logical font already created |