aboutsummaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 8ce5e9ba..2172a09c 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.73 2001/10/26 17:33:30 roberto Exp $ 2** $Id: lstrlib.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -97,7 +97,7 @@ static int str_concat (lua_State *L) {
97 size_t lsep; 97 size_t lsep;
98 const char *sep = luaL_opt_lstr(L, 2, "", &lsep); 98 const char *sep = luaL_opt_lstr(L, 2, "", &lsep);
99 int n, i; 99 int n, i;
100 luaL_check_rawtype(L, 1, LUA_TTABLE); 100 luaL_check_type(L, 1, LUA_TTABLE);
101 luaL_buffinit(L, &b); 101 luaL_buffinit(L, &b);
102 n = lua_getn(L, 1); 102 n = lua_getn(L, 1);
103 for (i=1; i<=n; i++) { 103 for (i=1; i<=n; i++) {