aboutsummaryrefslogtreecommitdiff
path: root/src/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.c')
-rw-r--r--src/tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools.c b/src/tools.c
index b00cef5..ecd86b8 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -1620,7 +1620,7 @@ static void inter_copy_keyvaluepair( Universe* U, lua_State* L2, uint_t L2_cache
1620 else if( lua_type( L, key_i) == LUA_TBOOLEAN) 1620 else if( lua_type( L, key_i) == LUA_TBOOLEAN)
1621 { 1621 {
1622 int key = lua_toboolean( L, key_i); 1622 int key = lua_toboolean( L, key_i);
1623 valPath = (char*) alloca( strlen( upName_) + 7); 1623 valPath = (char*) alloca( strlen( upName_) + 8);
1624 sprintf( valPath, "%s[%s]", upName_, key ? "true" : "false"); 1624 sprintf( valPath, "%s[%s]", upName_, key ? "true" : "false");
1625 } 1625 }
1626 } 1626 }