Permalink
Browse files

TJCLStringBuilder.Insert typo - compare with .Add

  • Loading branch information...
1 parent fe57547 commit 7f02e09b2e788ae6dddc80f7be0ae4ec57282eb8 @the-Arioch the-Arioch committed with ahausladen Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jcl/source/common/JclStrings.pas
@@ -4386,7 +4386,7 @@ function TJclStringBuilder.Insert(Index: SizeInt; Value: Integer): TJclStringBui
function TJclStringBuilder.Insert(Index: SizeInt; Obj: TObject): TJclStringBuilder;
begin
- Result := Insert(Index, Format('{0}', [Obj]));
+ Result := Insert(Index, DotNetFormat('{0}', [Obj]));
end;
function TJclStringBuilder.Remove(StartIndex, Length: SizeInt): TJclStringBuilder;

0 comments on commit 7f02e09

Please sign in to comment.