Improved concat values.
This commit is contained in:
@@ -303,7 +303,7 @@ public class LuaClosure extends LuaFunction {
|
|||||||
if ( c > b+1 ) {
|
if ( c > b+1 ) {
|
||||||
Buffer sb = stack[c].buffer();
|
Buffer sb = stack[c].buffer();
|
||||||
while ( --c>=b )
|
while ( --c>=b )
|
||||||
sb = stack[c].concat(sb);
|
sb.concatTo(stack[c]);
|
||||||
stack[a] = sb.value();
|
stack[a] = sb.value();
|
||||||
} else {
|
} else {
|
||||||
stack[a] = stack[c-1].concat(stack[c]);
|
stack[a] = stack[c-1].concat(stack[c]);
|
||||||
|
|||||||
Reference in New Issue
Block a user