uSetUtils.pas, line 53:
-------------
Result := '[';
for i := pd.MinValue to pd.MaxValue do
if (pi^ and (1 shl i)) <> 0 then
if Result = '' then Result :=
^^^^^^^^^^^ This contidions is always true
GetEnumName(CompType, i)
else Result := Result + ', ' +
GetEnumName(CompType, i);
Result := Result + ']';
-------------
That code will give extra ',' at start (e.g. [,fsBold])
-------------
Result := '[';
for i := pd.MinValue to pd.MaxValue do
if (pi^ and (1 shl i)) <> 0 then
if Result = '' then Result :=
^^^^^^^^^^^ This contidions is always true
GetEnumName(CompType, i)
else Result := Result + ', ' +
GetEnumName(CompType, i);
Result := Result + ']';
-------------
That code will give extra ',' at start (e.g. [,fsBold])