Commit 6ee0699e authored by Jean-Philippe André's avatar Jean-Philippe André

Lua: fix previous commit (83ab5425)

parent 68c015a6
......@@ -420,7 +420,7 @@ static int vlclua_dialog_add_button( lua_State *L )
p_widget->psz_text = strdup( luaL_checkstring( L, 2 ) );
lua_settop( L, 10 );
lua_pushlightuserdata( L, p_widget );
lua_insert( L, 10 );
lua_pushvalue( L, 3 );
lua_settable( L, LUA_REGISTRYINDEX );
p_widget->p_sys = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment