diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-23 15:32:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-23 15:32:43 -0700 |
commit | 2ebcf95b0e305f777143e3ad783896c17b769324 (patch) | |
tree | e0a60a9c313bf4526bec8fe2029d341302caa2f9 /src/postamble.js | |
parent | 8c6578568956816cbb518584cbfa1321587727a7 (diff) | |
parent | 3eb16db0edc678ca6183b3d0254b925aee575469 (diff) |
Merge branch 'incoming' into proxyGL
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js index b90049bc..94b88d4e 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -56,7 +56,7 @@ Module['callMain'] = Module.callMain = function callMain(args) { argv.push(0); } } - var argv = [allocate(intArrayFromString("/bin/this.program"), 'i8', ALLOC_NORMAL) ]; + var argv = [allocate(intArrayFromString(Module['thisProgram'] || '/bin/this.program'), 'i8', ALLOC_NORMAL) ]; pad(); for (var i = 0; i < argc-1; i = i + 1) { argv.push(allocate(intArrayFromString(args[i]), 'i8', ALLOC_NORMAL)); |