From 4fba6898d0e0b8805c1611fe0ac59c319f1f653c Mon Sep 17 00:00:00 2001 From: armin Date: Fri, 28 Mar 2003 09:52:03 +0000 Subject: [PATCH] * changed -1 to sw_word(-1) for textend to compile with 1.1 --- ide/whtmlhlp.pas | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ide/whtmlhlp.pas b/ide/whtmlhlp.pas index 9987d81e30..db6b6e7603 100644 --- a/ide/whtmlhlp.pas +++ b/ide/whtmlhlp.pas @@ -931,7 +931,7 @@ begin if Entered then begin if assigned(CurrentTable^.LastLine) and Assigned(CurrentTable^.LastLine^.LastEl) and - (CurrentTable^.LastLine^.LastEl^.TextEnd=-1) then + (CurrentTable^.LastLine^.LastEl^.TextEnd=sw_word(-1)) then begin NewEl:=CurrentTable^.LastLine^.LastEl; NewEl^.TextEnd:=TextPtr; @@ -942,7 +942,7 @@ begin New(NewEl,Init(PAlignEl)); CurrentTable^.AddElement(NewEl); NewEl^.TextBegin:=TextPtr; - NewEl^.TextEnd:=-1; + NewEl^.TextEnd:=sw_word(-1); { AddText(' - ');} end else @@ -1267,7 +1267,10 @@ end; END. { $Log$ - Revision 1.7 2003-03-27 14:37:52 pierre + Revision 1.8 2003-03-28 09:52:03 armin + * changed -1 to sw_word(-1) for textend to compile with 1.1 + + Revision 1.7 2003/03/27 14:37:52 pierre * try to enhance dispaly of new html docs Revision 1.6 2002/09/07 15:40:49 peter