diff options
-rw-r--r-- | lib/LuaTask.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/LuaTask.cc b/lib/LuaTask.cc index 275f4d8..f6f459d 100644 --- a/lib/LuaTask.cc +++ b/lib/LuaTask.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaTask.cc,v 1.9 2007-05-30 11:57:10 pixel Exp $ */ +/* $Id: LuaTask.cc,v 1.10 2007-05-30 18:59:30 pixel Exp $ */ #include <LuaTask.h> #include <LuaHandle.h> @@ -104,7 +104,8 @@ int LuaTask::Do() throw (GeneralException) { delete p; LuaBuffer o(b); o.pushdestruct(L); - nargs = 1; + L->push((lua_Number) estatus); + nargs = 2; } #endif |