lazutils: fixed dbgs(TComponentState)

git-svn-id: trunk@44278 -
This commit is contained in:
mattias 2014-02-27 12:43:34 +00:00
parent 6c43d476c4
commit dabd5d7e4c

View File

@ -438,7 +438,7 @@ begin
Result:='';
for i := low(TComponentState) to high(TComponentState) do
if i in s then
Result := Result + DbgSJoin(Result, dbgsComponentStateEnum(i));
Result := DbgSJoin(Result, dbgsComponentStateEnum(i));
Result:='['+Result+']';
{$ELSE}
Result := '';
@ -510,7 +510,7 @@ begin
Result:='';
for i := low(TShiftStateEnum) to high(TShiftStateEnum) do
if i in Shift then
Result := Result + DbgSJoin(Result, DbgS(i));
Result := DbgSJoin(Result, DbgS(i));
Result:='['+Result+']';
{$ELSE}
Result := '';