diff options
author | Mike Pall <mike> | 2010-09-13 01:21:44 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2010-09-13 01:21:44 +0200 |
commit | 4ba0eb5f8083e95852e15777bfc0da63653f4e19 (patch) | |
tree | 25ffd219b88dee948000be8e112517a9f4b43648 /src/lib_base.c | |
parent | 847b9cf2534233198e0229c209ab4c4040f5166e (diff) | |
download | luajit-4ba0eb5f8083e95852e15777bfc0da63653f4e19.tar.gz luajit-4ba0eb5f8083e95852e15777bfc0da63653f4e19.tar.bz2 luajit-4ba0eb5f8083e95852e15777bfc0da63653f4e19.zip |
Record select().
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 2 |
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 | ||
166 | LJLIB_CF(select) | 166 | LJLIB_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) == '#') { |