MG: fixed missing initialization

git-svn-id: trunk@1431 -
This commit is contained in:
lazarus 2002-02-09 02:30:55 +00:00
parent b89d0b7c59
commit dc2e8ef5ff

View File

@ -1868,6 +1868,7 @@ procedure TPropertyEditor.PropDrawValue(ACanvas:TCanvas; const ARect:TRect;
var
Style : TTextStyle;
begin
FillChar(Style,SizeOf(Style),0);
With Style do begin
Alignment := taLeftJustify;
Layout := tlCenter;
@ -1876,6 +1877,7 @@ begin
ShowPrefix := True;
WordBreak := False;
SingleLine := True;
SystemFont := true;
end;
ACanvas.TextRect(ARect, 3,0,GetVisualValue, Style);
end;