summaryrefslogtreecommitdiff
path: root/docview/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-11 16:37:20 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-08-11 16:37:20 +0200
commitf3acc04e1b3fa7447b6c4b761a7132ecb0541d55 (patch)
tree3b445c1eb37cf875109442e5e0819db5865ce1ff /docview/src
parentf5c6152b6a7e14c8ca366160558c0e4e4102460b (diff)
downloadfpGUI-f3acc04e1b3fa7447b6c4b761a7132ecb0541d55.tar.xz
richview: fixes right alignment of images
When we reach the end of a line, we shouldn't always default alignment back to Left - I think. Anyway, this changes makes the output in DocView look the same as IBM's iview program.
Diffstat (limited to 'docview/src')
-rw-r--r--docview/src/HelpTopic.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/docview/src/HelpTopic.pas b/docview/src/HelpTopic.pas
index 8e0602a3..44f81a57 100644
--- a/docview/src/HelpTopic.pas
+++ b/docview/src/HelpTopic.pas
@@ -1115,7 +1115,7 @@ begin
begin
CheckForAutoURL( AText, State );
// supposed to turn word wrap on, default font
- OutputString := '<align left><wrap yes>'; // I guess...
+ OutputString := {'<align left>}'<wrap yes>'; // I guess...
State.Alignment := itaLeft;
end;