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")..{
InitCommand=cmd(shadowlength,1);
SetMessageCommand=function(self,param)
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
if param.Steps and param.Steps:IsAutogen() then
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
else
self:diffuse(Color("White"));
if param.StepsType then
sString = THEME:GetString("StepsDisplay StepsType",ToEnumShortString(param.StepsType));
if param.Steps and param.Steps:IsAutogen() then
self:diffusebottomedge(color("0.75,0.75,0.75,1"));
else
self:diffuse(Color("White"));
end;
self:settext( sString );
end;
self:settext( sString );
end;
};
-- argh this isn't working as nicely as I would've hoped...