From 1f3efc987fbce23c58285bbf2669088ca4bf9247 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 24 Mar 2013 13:15:13 +0100 Subject: [PATCH] luainstance: dynamic values are not static --- src/gui/luainstance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 30bdbf6e0..cbd0bff29 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -167,7 +167,7 @@ static void set_lua_variables(lua_State *L) }; /* screen offsets, exported as e.g. SCREEN['END_Y'] */ - static table_key screenopts[] = + table_key screenopts[] = { { "OFF_X", g_settings.screen_StartX }, { "OFF_Y", g_settings.screen_StartY }, @@ -177,7 +177,7 @@ static void set_lua_variables(lua_State *L) }; /* list of environment variable arrays to be exported */ - static lua_envexport e[] = + lua_envexport e[] = { { "RC", keyname }, { "COL", colorlist },