File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -535,10 +535,10 @@ function StrEllipsis(const S: String; MaxLen: Integer; FromLeft: Boolean=True):
535535 Exit;
536536 if FromLeft then begin
537537 SetLength(Result, MaxLen);
538- Result[MaxLen] := '
' ;
538+ Result[MaxLen] := ' … ' ;
539539 end else begin
540540 Result := Copy(Result, Length(Result)-MaxLen, Length(Result));
541- Result := '
' + Result;
541+ Result := ' … ' + Result;
542542 end ;
543543end ;
544544
@@ -848,7 +848,7 @@ function MakeFloat(Str: String): Extended;
848848
849849function RoundCommercial (e: Extended): Int64;
850850begin
851- // "Kaufmännisch runden"
851+ // "Kaufmännisch runden"
852852 // In contrast to Delphi's Round() which rounds *.5 to the next even number
853853 Result := Trunc(e);
854854 if Frac(e) >= 0.5 then
@@ -1528,7 +1528,7 @@ function GetTextHeight(Font: TFont): Integer;
15281528 Bmp := Graphics.TBitmap.Create;
15291529 Bmp.Canvas.Font.Name := Font.Name ;
15301530 Bmp.Canvas.Font.Size := Font.Size;
1531- Result := Bmp.Canvas.TextHeight(' Äy' );
1531+ Result := Bmp.Canvas.TextHeight(' Äy' );
15321532 Bmp.Free;
15331533end ;
15341534
You can’t perform that action at this time.
0 commit comments