From 5e73458e99b3fcb5c10c242862d6bb1236ef0dcf Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Mon, 17 Mar 2008 20:56:02 -0500 Subject: this is unnecessary, tables are manipulated through references --- src/curses.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/curses.c b/src/curses.c index cf2b0ff..b386c54 100644 --- a/src/curses.c +++ b/src/curses.c @@ -190,7 +190,6 @@ static int l_start_color(lua_State* L) lua_newtable(L); init_colors(L); lua_setfield(L, -2, "colors"); - lua_setfield(L, LUA_REGISTRYINDEX, REG_TABLE); lua_pushboolean(L, start_color() == OK); use_default_colors(); } -- cgit v1.2.3-54-g00ecf