aboutsummaryrefslogtreecommitdiff
path: root/src/lindafactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lindafactory.cpp')
-rw-r--r--src/lindafactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp
index 863f16e..9ae2611 100644
--- a/src/lindafactory.cpp
+++ b/src/lindafactory.cpp
@@ -49,7 +49,7 @@ void LindaFactory::createMetatable(lua_State* L_) const
49 lua_setfield(L_, -2, "__index"); 49 lua_setfield(L_, -2, "__index");
50 50
51 // protect metatable from external access 51 // protect metatable from external access
52 lua_pushliteral(L_, kLindaMetatableName); 52 luaG_pushstring(L_, kLindaMetatableName);
53 lua_setfield(L_, -2, "__metatable"); 53 lua_setfield(L_, -2, "__metatable");
54 54
55 // the linda functions 55 // the linda functions