error check

This commit is contained in:
Glenn Maynard
2007-02-07 05:59:34 +00:00
parent 2cebe3ef34
commit 383a01e3b5
@@ -37,6 +37,8 @@ local function func()
end
local sButtonToLoad, sElementToLoad = ret.Redir(sButton, sElement);
assert( sButtonToLoad );
assert( sElementToLoad );
local sPath = NOTESKIN:GetPath( sButtonToLoad, sElementToLoad );