Browse Source

* fixed TTable.InsertText as suggested by Jonas

git-svn-id: trunk@4460 -
florian 19 years ago
parent
commit
10f1762ae6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ide/whtmlhlp.pas

+ 1 - 1
ide/whtmlhlp.pas

@@ -281,7 +281,7 @@ procedure TTable.TextInsert(Pos : sw_word;const S : string);
 var
   i : sw_word;
 begin
-  i:=Renderer^.AddTextAt(S[i],Pos+GlobalOffset);
+  i:=Renderer^.AddTextAt(S,Pos+GlobalOffset);
   GlobalOffset:=GlobalOffset+i;
 end;