From f3acc04e1b3fa7447b6c4b761a7132ecb0541d55 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 11 Aug 2011 16:37:20 +0200 Subject: 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. --- docview/src/HelpTopic.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docview/src') 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 := ''; // I guess... + OutputString := {'}''; // I guess... State.Alignment := itaLeft; end; -- cgit v1.2.3-70-g09d2