aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index d075f8a..12f3b19 100644
--- a/vis.c
+++ b/vis.c
@@ -308,7 +308,7 @@ Vis *vis_new(Ui *ui) {
Vis *vis = calloc(1, sizeof(Vis));
if (!vis)
return NULL;
- lua_State *L = lua_open();
+ lua_State *L = luaL_newstate();
if (!(vis->lua = L))
goto err;
luaL_openlibs(L);