summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua-interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 0649119..af93ec4 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: lua-interface.cpp,v 1.10 2008-08-06 11:55:03 pixel Exp $ */
+/* $Id: lua-interface.cpp,v 1.11 2008-08-13 09:46:22 pixel Exp $ */
#define WIP
@@ -323,7 +323,7 @@ int sLua_baselua_interface::baselua_interface_proceed_statics(Lua * L, int n, in
} else if ((filename == "luaosmesa") && (luaosmesa_init != NULL)) {
luaosmesa_init(L);
} else {
- LuaLoadPlugin(L->tostring(1), L);
+ LuaLoadPlugin(filename, L);
}
break;
case BASELUA_INTERFACE_UNLINK: