attempt to silence a warning (let the post-public beta 2 commits begin!)

This commit is contained in:
AJ Kelly
2010-03-31 18:36:10 -05:00
parent 642f4b107c
commit f27015e9dd
@@ -3,13 +3,15 @@ local t = Def.ActorFrame{
LoadFont("Common normal")..{ LoadFont("Common normal")..{
InitCommand=cmd(shadowlength,1); InitCommand=cmd(shadowlength,1);
SetMessageCommand=function(self,param) SetMessageCommand=function(self,param)
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType)); if param.StepsType then
if param.Steps and param.Steps:IsAutogen() then sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
self:diffusebottomedge(color("0.75,0.75,0.75,1")); if param.Steps and param.Steps:IsAutogen() then
else self:diffusebottomedge(color("0.75,0.75,0.75,1"));
self:diffuse(Color("White")); else
self:diffuse(Color("White"));
end;
self:settext( sString );
end; end;
self:settext( sString );
end; end;
}; };
-- argh this isn't working as nicely as I would've hoped... -- argh this isn't working as nicely as I would've hoped...