From cc6519ad232abb62a35630a3b1fafee330db6878 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 10 Mar 2009 19:44:48 -0700 Subject: Fixing cdutils constructor from within Lua. --- lib/luacd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/luacd.cpp b/lib/luacd.cpp index 091fd68..85ce5b4 100644 --- a/lib/luacd.cpp +++ b/lib/luacd.cpp @@ -475,6 +475,7 @@ int sLua_cdutils::cdutils_proceed_statics(Lua * L, int n, int caller) { Luacdutils cd(new cdutils(isor, isow)); cd.pushdestruct(L); } + r = 1; break; case CDUTILS_SWAPWORD: x = L->tonumber(); -- cgit v1.2.3