summaryrefslogtreecommitdiff
path: root/src/lib_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib_base.c')
-rw-r--r--src/lib_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c
index e5f71d9c..0717ea86 100644
--- a/src/lib_base.c
+++ b/src/lib_base.c
@@ -163,7 +163,7 @@ LJLIB_CF(unpack)
163 return n; 163 return n;
164} 164}
165 165
166LJLIB_CF(select) 166LJLIB_CF(select) LJLIB_REC(.)
167{ 167{
168 int32_t n = (int32_t)(L->top - L->base); 168 int32_t n = (int32_t)(L->top - L->base);
169 if (n >= 1 && tvisstr(L->base) && *strVdata(L->base) == '#') { 169 if (n >= 1 && tvisstr(L->base) && *strVdata(L->base) == '#') {