summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-03-10 19:44:48 -0700
committerPixel <pixel@nobis-crew.org>2009-03-10 19:44:48 -0700
commitcc6519ad232abb62a35630a3b1fafee330db6878 (patch)
tree263f42aae96574aa1d70c073b70a09eec2007756
parent1b56048df878e8f34f391814e32a7044e8a17f71 (diff)
Fixing cdutils constructor from within Lua.
-rw-r--r--lib/luacd.cpp1
1 files changed, 1 insertions, 0 deletions
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();