We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85fb0bd commit 26b9696Copy full SHA for 26b9696
1 file changed
source/apphelpers.pas
@@ -535,7 +535,7 @@ function StrEllipsis(const S: String; MaxLen: Integer; FromLeft: Boolean=True):
535
Exit;
536
if FromLeft then begin
537
SetLength(Result, MaxLen);
538
- Result[MaxLen] := '…';
+ Result := Result + '…';
539
end else begin
540
Result := Copy(Result, Length(Result)-MaxLen, Length(Result));
541
Result := '…' + Result;
0 commit comments