diff options
| author | jmoenig <jens@moenig.org> | 2014-11-24 10:48:49 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-11-24 10:48:49 +0100 |
| commit | e48eda6cc0bdd234f2b385974d1cee66656e070a (patch) | |
| tree | 73f5932e4e933c8cceced318ae3850e2c89c0155 | |
| parent | 0d8cc567e7f04a9416fc2518646f2d9187840d70 (diff) | |
| download | snap-byow-e48eda6cc0bdd234f2b385974d1cee66656e070a.tar.gz snap-byow-e48eda6cc0bdd234f2b385974d1cee66656e070a.zip | |
Fixed #644
| -rwxr-xr-x | history.txt | 1 | ||||
| -rw-r--r-- | threads.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/history.txt b/history.txt index 2d7e53e..819dcf0 100755 --- a/history.txt +++ b/history.txt @@ -2347,3 +2347,4 @@ ______ * Threads: Fixed #318 * Objects: Fixed #416 * Objects: Fixed #372 +* Threads: Fixed #644 @@ -1307,7 +1307,7 @@ Process.prototype.doInsertInList = function (element, index, list) { return null; } if (this.inputOption(index) === 'any') { - idx = this.reportRandom(1, list.length()); + idx = this.reportRandom(1, list.length() + 1); } if (this.inputOption(index) === 'last') { idx = list.length() + 1; |
