summaryrefslogtreecommitdiff
path: root/docview/src
diff options
context:
space:
mode:
Diffstat (limited to 'docview/src')
-rw-r--r--docview/src/frm_main.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/src/frm_main.pas b/docview/src/frm_main.pas
index 141dac27..8d128e3e 100644
--- a/docview/src/frm_main.pas
+++ b/docview/src/frm_main.pas
@@ -2573,7 +2573,7 @@ begin
ImageIndices.Free;
// apply encoding conversion
- lText := ConvertTextToUTF8(HelpFile.Encoding, lText);
+ lText := ConvertTextToUTF8(Settings.Encoding, lText);
{ Load and insert annotations / notes }
if not HelpFile.NotesLoaded then