diff options
author | max99x <max99x@gmail.com> | 2011-06-24 04:15:15 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-06-24 04:15:15 +0300 |
commit | b8d759637abaa722c5f0e013dd0b45039cecdefe (patch) | |
tree | 7c32368e5d58db75eb000955cd46c825d0f4fd20 /src | |
parent | 5fa86f5cf902f6b1ae2acb31c71cd23813b720dd (diff) | |
parent | 5aec040f3f5f95ee8c5e29cac578bdd331a0e3d5 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src')
-rw-r--r-- | src/preamble.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index b5a8930a..35121317 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -557,8 +557,9 @@ function intArrayFromString(stringy, dontAddNull) { ret.push(stringy.charCodeAt(i)); i = i + 1; } - if (!dontAddNull) + if (!dontAddNull) { ret.push(0); + } return ret; } Module['intArrayFromString'] = intArrayFromString; |