summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docview/components/richtext/CanvasFontManager.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas
index e650141b..71e6d2fa 100644
--- a/docview/components/richtext/CanvasFontManager.pas
+++ b/docview/components/richtext/CanvasFontManager.pas
@@ -179,8 +179,8 @@ begin
AFontDesc := AFontDesc + ':Strikeout';
if faUnderScore in Attrs Then
- if Pos(':Underscore', AFontDesc) = 0 then
- AFontDesc := AFontDesc + ':Underscore';
+ if Pos(':Underline', AFontDesc) = 0 then
+ AFontDesc := AFontDesc + ':Underline';
end;
// Provide font name substitutes for some common bitmap fonts found in INF files